Android password edit text showing text
问题 I have used one Edittext with attribute android:inputType="textPassword" . But when I type some text in it, text is getting visible character by character before changing to solid bullets. How can I make the text invisible as the user inputs the text. Please help me. 回答1: Try to add EditText attribute android:inputType="text" And also add programmatically edt_password.setTransformationMethod(new PasswordTransformationMethod()); 回答2: i have used the below in my application and text does not