Android隐藏软键盘

原创
2014/10/16 09:55
阅读数 132
 InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
 if (imm.isActive()) {
	imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(),
	InputMethodManager.HIDE_NOT_ALWAYS);
 }


展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
返回顶部
顶部