setStartIconDrawable

Sets the start icon.

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

Parameters

resId

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


open fun setStartIconDrawable(@Nullable startIconDrawable: Drawable)

Sets the start icon.

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

Parameters

startIconDrawable

Drawable to set, may be null to clear and remove the icon