摘要:
EditText通过设置android:imeOptions来改变默认的”文本或者样式。这里举几个常用的常量值:actionUnspecified 未指定,对应常量EditorInfo.IME_ACTION_UNSPECIFIED. actionNone 没有动作,对应常量EditorInfo.IM 阅读全文
摘要:
InputMethodManager imm = (InputMethodManager) getActivity() .getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(passwdEdit.getWindowToken(), 0); 阅读全文