set Password Visibility Toggle Drawable
Deprecated
Use #setEndIconDrawable(int) instead.
Set the icon to use for the password visibility toggle button.
If you use an icon you should also set a description for its action using setPasswordVisibilityToggleContentDescription(CharSequence). This is used for accessibility.
Parameters
res Id
resource id of the drawable to set, or 0 to clear the icon