public boolean onTouchEvent(MotionEvent event) {
if(null != this.getCurrentFocus()){
InputMethodManager mInputMethodManager = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE);
return mInputMethodManager.hideSoftInputFromWindow(this.getCurrentFocus().getWindowToken(), 0);
}
return super .onTouchEvent(event);
}
阅读(1806) | 评论(0) | 转发(0) |