mEdtPassword.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD);
mEdtPassword.setFilters(new InputFilter[]{new InputFilter.LengthFilter(6) {
}});
mEdtPassword.setTransformationMethod(HideReturnsTransformationMethod.getInstance());
mEdtPassword.setTransformationMethod(PasswordTransformationMethod.getInstance());
网友评论