Android 隐藏输入软键盘

时间:2014-02-09 16:32:06   收藏:0   阅读:358

//隐藏输入键盘
((InputMethodManager)getSystemService(INPUT_METHOD_SERVICE))
.hideSoftInputFromWindow(BshToolsActivity.this.getCurrentFocus().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);

原文:http://www.cnblogs.com/yshyee/p/3541333.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!