Language

SystemUiFlags Enum

Definition

Specifies legacy system UI visibility options.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
Visible 0

Special constant for SystemUiVisibility: View has requested the system UI (status bar) to be visible (the default).

LowProfile 1

Flag for SystemUiVisibility: View has requested the system UI to enter an unobtrusive "low profile" mode.

HideNavigation 2

Flag for SystemUiVisibility: View has requested that the system navigation be temporarily hidden.

Fullscreen 4

Flag for SystemUiVisibility: View has requested to go into the normal fullscreen mode so that its content can take over the screen while still allowing the user to interact with the application.

LightNavigationBar 16

Flag for SystemUiVisibility: Requests the navigation bar to draw in a mode that is compatible with light navigation bar backgrounds.

LayoutStable 256

Flag for SystemUiVisibility: When using other layout flags, we would like a stable view of the content insets given to FitSystemWindows(Rect).

LayoutHideNavigation 512

Flag for SystemUiVisibility: View would like its window to be laid out as if it has requested HideNavigation, even if it currently hasn't.

LayoutFullscreen 1024

Flag for SystemUiVisibility: View would like its window to be laid out as if it has requested Fullscreen, even if it currently hasn't.

LayoutFlags 1536

Flags that can impact the layout in relation to system UI.

Immersive 2048

Flag for SystemUiVisibility: View would like to remain interactive when hiding the navigation bar with HideNavigation.

ImmersiveSticky 4096

Flag for SystemUiVisibility: View would like to remain interactive when hiding the status bar with Fullscreen and/or hiding the navigation bar with HideNavigation.

LightStatusBar 8192

Flag for SystemUiVisibility: Requests the status bar to draw in a mode that is compatible with light status bar backgrounds.

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