摘要:
如果是android4.0以下,那么editText.setInputType(InputType.TYPE_NULL);就够了,android4.0以上屏蔽软键盘并且有光标,需要用到if (android.os.Build.VERSION.SDK_INT cls = EditText.class; Method setShowSoftInputOnFocus; setShowSoftInputOnFocus = cls.getMethod("setShowSoftInputOnFocus", ... 阅读全文
posted @ 2013-11-04 13:27
s413574930
阅读(1545)
评论(0)
推荐(0)