setSecondaryIconResource

open fun setSecondaryIconResource(@DrawableRes iconResourceId: Int)

Sets the secondary icon to show for this button. By default, this icon will be shown on the end of the button. A secondary icon used in addition with another icon should be generally avoided, as it is meant for a pointer optimized UI such as of a laptop UI.

Parameters

iconResourceId

Drawable resource ID to use for the secondary icon.

See also

setSecondaryIcon(Drawable)
getSecondaryIcon()