Android Guides | Samples

Android.Views.WindowFeatures Enumeration

Enumerates values returned by several methods of WindowFeatures and taken as a parameter of several types.

Syntax

public enum WindowFeatures

Remarks

Members

Member NameDescription
ActionBarFlag for enabling the Action Bar. This is enabled by default for some devices. The Action Bar replaces the title bar and provides an alternate location for an on-screen menu button on some devices.
ActionBarOverlay

WindowFeatures.ActionBar

View.SystemUiFlagFullscreen

As of VERSION_CODES.JellyBean, when an ActionBar is in this mode it will adjust the insets provided to View.FitSystemWindows(Rect) to include the content covered by the action bar, so you can do layout within that space.

ActionModeOverlayFlag for specifying the behavior of action modes when an Action Bar is not present. If overlay is enabled, the action mode UI will be allowed to cover existing window content.
ActivityTransitions
ContentTransitions
ContextMenuFlag for the context menu. This is enabled by default.
CustomTitleFlag for custom title. You cannot combine this feature with other title features.
DefaultFeaturesThe default features enabled
IndeterminateProgressFlag for indeterminate progress
LeftIconFlag for having an icon on the left side of the title bar
NoTitleFlag for the "no title" feature, turning off the title at the top of the screen.
OptionsPanelFlag for the "options panel" feature. This is enabled by default.
ProgressFlag for the progress indicator feature
RightIconFlag for having an icon on the right side of the title bar
SwipeToDismiss

Requirements

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

The members of Android.Views.WindowFeatures are listed below.

See Also: Enum

Public Fields

ActionBarWindowFeatures. Flag for enabling the Action Bar. This is enabled by default for some devices. The Action Bar replaces the title bar and provides an alternate location for an on-screen menu button on some devices.
ActionBarOverlayWindowFeatures.

WindowFeatures.ActionBar

View.SystemUiFlagFullscreen

As of VERSION_CODES.JellyBean, when an ActionBar is in this mode it will adjust the insets provided to View.FitSystemWindows(Rect) to include the content covered by the action bar, so you can do layout within that space.

ActionModeOverlayWindowFeatures. Flag for specifying the behavior of action modes when an Action Bar is not present. If overlay is enabled, the action mode UI will be allowed to cover existing window content.
ActivityTransitionsWindowFeatures.
ContentTransitionsWindowFeatures.
ContextMenuWindowFeatures. Flag for the context menu. This is enabled by default.
CustomTitleWindowFeatures. Flag for custom title. You cannot combine this feature with other title features.
DefaultFeaturesWindowFeatures. The default features enabled
IndeterminateProgressWindowFeatures. Flag for indeterminate progress
LeftIconWindowFeatures. Flag for having an icon on the left side of the title bar
NoTitleWindowFeatures. Flag for the "no title" feature, turning off the title at the top of the screen.
OptionsPanelWindowFeatures. Flag for the "options panel" feature. This is enabled by default.
ProgressWindowFeatures. Flag for the progress indicator feature
RightIconWindowFeatures. Flag for having an icon on the right side of the title bar
SwipeToDismissWindowFeatures.