android 代码关闭软键盘
?InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);? ? ?
? ? ? ? imm.hideSoftInputFromWindow(editText.getWindowToken(), 0); ? ? ? ?
发布时间: 2012-09-16 17:33:17 作者: rapoo
android 代码关闭软键盘
?InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);? ? ?
? ? ? ? imm.hideSoftInputFromWindow(editText.getWindowToken(), 0); ? ? ? ?