setShortcutsVisible

open fun setShortcutsVisible(shortcutsVisible: Boolean)(source)

Sets whether the shortcuts should be visible on menus. Devices without hardware key input will never make shortcuts visible even if this method is passed 'true'.

Parameters

shortcutsVisible

Whether shortcuts should be visible (if true and a menu item does not have a shortcut defined, that item will still NOT show a shortcut)