隐藏输入软键盘

时间:2015-05-05 10:29:46   收藏:0   阅读:104
 case R.id.back:// 返回
   ((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE))
   .hideSoftInputFromWindow(AccountActivity.this
     .getCurrentFocus().getWindowToken(),
     InputMethodManager.HIDE_NOT_ALWAYS);
break;

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!