set Password Visibility Toggle Enabled
Deprecated
Use setEndIconMode instead.
Enables or disable the password visibility toggle functionality.
When enabled, a button is placed at the end of the EditText which enables the user to switch between the field's input being visibly disguised or not.
Parameters
enabled
true to enable the functionality