设置为密码:
editText.setTransformationMethod(PasswordTransformationMethod.getInstance());
设置为文本:
editText.setTransformationMethod(null);
设置为密码:
editText.setTransformationMethod(PasswordTransformationMethod.getInstance());
设置为文本:
editText.setTransformationMethod(null);