setPasswordVisibilityToggleContentDescription

Deprecated

Use setEndIconContentDescription instead.

Set a content description for the navigation button if one is present.

The content description will be read via screen readers or other accessibility systems to explain the action of the password visibility toggle.

Parameters

resId

Resource ID of a content description string to set, or 0 to clear the description


Deprecated

Use setEndIconContentDescription instead.

Set a content description for the navigation button if one is present.

The content description will be read via screen readers or other accessibility systems to explain the action of the password visibility toggle.

Parameters

description

Content description to set, or null to clear the content description