in clicking edittext box then don't open mobile keyboard this scenario how can implemented
I am implementing one application开发者_C百科 some fields are edittext in edittext clicking open mobile keyboard how can implemented this keyboard do not open
You can use the InputMethodManager to show or hide the keyboard. In order to hide it, you should do something like:
InputMethodManager mgr = (InputMethodManager)
getSystemService(Context.INPUT_METHOD_SERVICE);
mgr.hideSoftInputFromWindow(editText.getWindowToken(), 0);
精彩评论