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