用这个来控制密码不可见:
password.setTransformationMethod(HideReturnsTransformationMethod.getInstance());
控制密码可见:
password.setTransformationMethod(PasswordTransformationMethod.getInstance());
不会覆盖xml文件设置的digits
用这个来控制密码不可见:
password.setTransformationMethod(HideReturnsTransformationMethod.getInstance());
控制密码可见:
password.setTransformationMethod(PasswordTransformationMethod.getInstance());
不会覆盖xml文件设置的digits