开发者

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜