Home > other >  How can I fill editText with password chars, so there are hidden chars in there
How can I fill editText with password chars, so there are hidden chars in there

Time:09-16

I have a design where the editText should have some hidden chars set as password. And after clicking edittext, they should disappear.

enter image description here

Just like this, the circles should be there however once clicked or when eye icon(for making it visible) is clicked, nothing should be there.

CodePudding user response:

android:hint="•••••••" decided to do so

CodePudding user response:

You need to add these 2 lines in your EditText code;

    android:inputType="textPassword"
    android:hint="●●●●●●
  • Related