android 代码关闭软键盘

android 代码关闭软键盘

InputMethodManager imm = (InputMethodManager)getSystemServic(Context.INPUT_METHOD_SERVICE);

imm.hideSoftInputFromWindow(editText.getWindowToken(), 0);

猜你喜欢

转载自shenchuochuo.iteye.com/blog/1954617
今日推荐