Android.App.ActionBar.SetDisplayOptions Method
Set selected display options.

Syntax

[Android.Runtime.Register("setDisplayOptions", "(II)V", "GetSetDisplayOptions_IIHandler")]
public abstract void SetDisplayOptions ([Android.Runtime.GeneratedEnum] ActionBarDisplayOptions options, [Android.Runtime.GeneratedEnum] ActionBarDisplayOptions mask)

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.

Remarks

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

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

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11