How to hide Android Soft Keyboard?
This question already has an answer here:
你可以像这样使用InputMethodManager类:
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow( yourEditText.getWindowToken(),InputMethodManager.RESULT_UNCHANGED_SHOWN);
链接地址: http://www.djcxy.com/p/16602.html
上一篇: 如何隐藏键盘默认情况下,只有点击EditText时才显示
下一篇: 如何隐藏Android软键盘?