摘要: EditText通过设置android:imeOptions来改变默认的”文本或者样式。这里举几个常用的常量值:actionUnspecified 未指定,对应常量EditorInfo.IME_ACTION_UNSPECIFIED. actionNone 没有动作,对应常量EditorInfo.IM 阅读全文
posted @ 2016-03-28 15:46 aaddrrooiidd 阅读(291) 评论(0) 推荐(0) 编辑
摘要: InputMethodManager imm = (InputMethodManager) getActivity() .getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(passwdEdit.getWindowToken(), 0); 阅读全文
posted @ 2016-03-28 14:04 aaddrrooiidd 阅读(173) 评论(0) 推荐(0) 编辑