setForceShowIcon

open fun setForceShowIcon(forceShowIcon: Boolean)(source)

Sets whether the popup menu's adapter is forced to show icons in the menu item views.

Changes take effect on the next call to show().

Parameters

forceShowIcon

true to force icons to be shown, or false for icons to be optionally shown