1.设置只能输入字母和数字的方法:
2.设置自动大写两种方法:
1>重写afterTextChanged方法
2>定义ReplacementTransformationMethod
etAccount.setTransformationMethod(new UpperCaseTransform());
over~

1.设置只能输入字母和数字的方法:
2.设置自动大写两种方法:
1>重写afterTextChanged方法
2>定义ReplacementTransformationMethod
etAccount.setTransformationMethod(new UpperCaseTransform());
over~