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

Value: 256

Syntax

[Android.Runtime.Register("SYSTEM_UI_FLAG_LAYOUT_STABLE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.SystemUiFlags enum directly instead of this field.")]
public const SystemUiFlags SystemUiFlagLayoutStable

Remarks

Flag for View.SystemUiVisibility: When using other layout flags, we would like a stable view of the content insets given to View.FitSystemWindows(Android.Graphics.Rect). This means that the insets seen there will always represent the worst case that the application can expect as a continuous state. In the stock Android UI this is the space for the system bar, nav bar, and status bar, but not more transient elements such as an input method. The stable layout your UI sees is based on the system UI modes you can switch to. That is, if you specify View.SystemUiFlagLayoutFullscreen then you will get a stable layout for changes of the View.SystemUiFlagFullscreen mode; if you specify View.SystemUiFlagLayoutFullscreen and View.SystemUiFlagLayoutHideNavigation, then you can transition to View.SystemUiFlagFullscreen and View.SystemUiFlagHideNavigation with a stable layout. (Note that you should avoid using View.SystemUiFlagLayoutHideNavigation by itself.) If you have set the window flag WindowManagerLayoutParams.FLAG_FULLSCREEN to hide the status bar (instead of using View.SystemUiFlagFullscreen), then a hidden status bar will be considered a "stable" state for purposes here. This allows your UI to continually hide the status bar, while still using the system UI flags to hide the action bar while still retaining a stable layout. Note that changing the window fullscreen flag will never provide a stable layout for a clean transition.

If you are using ActionBar in overlay mode with Window.FEATURE_ACTION_BAR_OVERLAY, this flag will also impact the insets it adds to those given to the application.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16