EditText miEditText=(EditText)findViewById(R.id.entrada);
InputMethodManager miTeclado=(InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);
miTeclado.hideSoftInputFromWindow(miEditText.getWindowToken(),0);