setPrimary

open fun setPrimary(primary: Boolean)

Sets whether menu button acts as a primary menu.

Primary menus can be opened with the F10 key.

Since

4.4

Parameters

primary

whether the menubutton should act as a primary menu