点击按钮时软键盘消失

//让软键盘消失
((InputMethodManager)getSystemService(INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(CancelOrderActivity.this.getCurrentFocus().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);

猜你喜欢

转载自blog.csdn.net/briup_qiuqiu/article/details/51908143
今日推荐