I’m implementing a PreferenceActivity, which would ask the user for username and password.
I’ll use EditTextPreference for the username, but what element do I need to have a “password input”, which will hide the inputted data (i.e. change to dots)?
I’m implementing a PreferenceActivity, which would ask the user for username and password. I’ll
Share
That should also be an EditText, but you configure it to “password”-mode.
See
android:password or setTransformationMethod(TransformationMethod)