icon

val icon: DrawableResolver

Parameters

icon

A DrawableResolver that returns this menu item's icon. The provided icon can make use of a StateListDrawable to support different states, such as state_selected for when the menu item is selected.