Udostępnij za pośrednictwem


ActionBarDisplayOptions Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ActionBarDisplayOptions
[<System.Flags>]
type ActionBarDisplayOptions = 
Inheritance
ActionBarDisplayOptions
Attributes

Fields

Name Value Description
1

Use logo instead of icon if available.

ShowHome 2

Show 'home' elements in this action bar, leaving more space for other navigation elements.

HomeAsUp 4
ShowTitle 8

Show the activity title and subtitle, if present.

ShowCustom 16

Show the custom view if one has been set.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to