Android - Disable password hint

How to disable the password hint when using softkeyboard in Android applications ???

+2
source share
2 answers

Note the attribute inside your EditText: android:inputType

android:inputType="textFilter|textMultiLine|textNoSuggestions"
+4
source

Here is the solution I came up with.

  • Create a new class that extends TextWatcher
  • @Override public void beforeTextChanged()to grab a new CharSequence
  • Keep the new one CharSequenceprivate so you know what text is there.
  • Replace the text in EditTextwith the X number of folders with a password (& bull;)
  • Add an observer to yours EditTextusingpwEditText.addTextChangedListener(new PassWatcher());

Hope that helps

+2
source

All Articles