if (android.os.Build.VERSION.SDK_INT <= 10) {
etMoney.setInputType(InputType.TYPE_NULL);
} else {
Class<EditText> cls = EditText.class;
Method method;
try {
method = cls.getMethod("setShowSoftInputOnFocus", boolean.class);
method.setAccessible(true);
method.invoke(etMoney, false);
} catch (Exception e) {
}
指定某个edittext 不弹软键盘