setDisplayOptions

open fun setDisplayOptions(options: Int)(source)

Set display options. This changes all display option bits at once. To change a limited subset of display options, see setDisplayOptions.

Parameters

options

A combination of the bits defined by the DISPLAY_ constants defined in ActionBar.


open fun setDisplayOptions(options: Int, mask: Int)(source)

Set selected display options. Only the options specified by mask will be changed. To change all display option bits at once, see setDisplayOptions.

Example: setDisplayOptions(0, DISPLAY_SHOW_HOME) will disable the DISPLAY_SHOW_HOME option. setDisplayOptions(DISPLAY_SHOW_HOME, DISPLAY_SHOW_HOME | DISPLAY_USE_LOGO) will enable DISPLAY_SHOW_HOME and disable DISPLAY_USE_LOGO.

Parameters

options

A combination of the bits defined by the DISPLAY_ constants defined in ActionBar.

mask

A bit mask declaring which display options should be changed.