setEndIconDrawable

Set the icon to use for the end icon. This method should be called after specifying an via setEndIconMode.

If you use an icon you should also set a description for its action using setEndIconContentDescription. This is used for accessibility.

Parameters

resId

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


open fun setEndIconDrawable(@Nullable endIconDrawable: Drawable)

Set the icon to use for the end icon. This method should be called after specifying an via setEndIconMode.

If you use an icon you should also set a description for its action using setEndIconContentDescription. This is used for accessibility.

Parameters

endIconDrawable

Drawable to set, may be null to clear the icon