隐藏输入软键盘

 case R.id.back:// 返回
   ((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE))
   .hideSoftInputFromWindow(AccountActivity.this
     .getCurrentFocus().getWindowToken(),
     InputMethodManager.HIDE_NOT_ALWAYS);
break;
原文地址:https://www.cnblogs.com/childhooding/p/4478301.html