I want to hide soft keyboard after AlertDialog dismiss, but it\'s still visible. Here is my code:
alert = new AlertDialo
I use this method:
IBinder token = searchTextEntry.getWindowToken(); ( ( InputMethodManager ) getSystemService( Context.INPUT_METHOD_SERVICE ) ).hideSoftInputFromWindow( token, 0 );
Where searchTextEntry is the name of my EditText reference.
searchTextEntry
EditText