setPasswordVisibilityToggleDrawable

Deprecated

Use setEndIconDrawable 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. This is used for accessibility.

Parameters

resId

resource id of the drawable to set, or 0 to clear the icon


Deprecated

Use setEndIconDrawable 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. This is used for accessibility.

Parameters

icon

Drawable to set, may be null to clear the icon