Android Guides | Samples

Android.App.ActionBarDisplayOptions Enumeration

Enumerates values returned by several types and taken as a parameter of the ActionBar.SetDisplayOptions, and ActionBar.SetDisplayOptions members.

Syntax

public enum ActionBarDisplayOptions

Remarks

Members

Member NameDescription
HomeAsUp

Setting this option will implicitly enable interaction with the home/up button. See ActionBar.SetHomeButtonEnabled(Boolean).

ShowCustomShow the custom view if one has been set.
ShowHomeShow 'home' elements in this action bar, leaving more space for other navigation elements. This includes logo and icon.
ShowTitleShow the activity title and subtitle, if present.
Use logo instead of icon if available. This flag will cause appropriate navigation modes to use a wider logo in place of the standard icon.

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.App.ActionBarDisplayOptions are listed below.

See Also: Enum

Public Fields

HomeAsUpActionBarDisplayOptions.

Setting this option will implicitly enable interaction with the home/up button. See ActionBar.SetHomeButtonEnabled(Boolean).

ShowCustomActionBarDisplayOptions. Show the custom view if one has been set.
ShowHomeActionBarDisplayOptions. Show 'home' elements in this action bar, leaving more space for other navigation elements. This includes logo and icon.
ShowTitleActionBarDisplayOptions. Show the activity title and subtitle, if present.
UseLogoActionBarDisplayOptions. Use logo instead of icon if available. This flag will cause appropriate navigation modes to use a wider logo in place of the standard icon.