On some systems, when an EditText field is selected, the focus is automatically shifted to the field and an onscreen keyboard is shown. This removes the onscreen keyboard.
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(editTextField.getWindowToken(), 0);
2 Comments
Are you some kind of clairvoyant? It's just excactly what I was thinking about the last days... thanks! ;)
This is really helpful!