WindowFeatures Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines features that a window can request.
public enum WindowFeatures
type WindowFeatures =
- Inheritance
-
WindowFeatures
Fields
| Name | Value | Description |
|---|---|---|
| OptionsPanel | 0 | Flag for the "options panel" feature. |
| NoTitle | 1 | Flag for the "no title" feature, turning off the title at the top of the screen. |
| Progress | 2 | Flag for the progress indicator feature. |
| LeftIcon | 3 | Flag for having an icon on the left side of the title bar. |
| RightIcon | 4 | Flag for having an icon on the right side of the title bar. |
| IndeterminateProgress | 5 | Flag for indeterminate progress. |
| ContextMenu | 6 | Flag for the context menu. |
| CustomTitle | 7 | Flag for custom title. |
| ActionBar | 8 | Flag for enabling the Action Bar. This is enabled by default for some devices. |
| ActionBarOverlay | 9 | Flag for requesting an Action Bar that overlays window content. |
| ActionModeOverlay | 10 | 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. |
| SwipeToDismiss | 11 | Flag for requesting a decoration-free window that is dismissed by swiping from the left. |
| ContentTransitions | 12 | Flag for requesting that window content changes should be animated using a TransitionManager. |
| ActivityTransitions | 13 | Enables Activities to run Activity Transitions either through sending or receiving ActivityOptions bundle created with MakeSceneTransitionAnimation(Activity, Pair[]) or MakeSceneTransitionAnimation(Activity, View, String). |
| DefaultFeatures | 65 | The default features enabled. |
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.