Android.Views.View.SetFitsSystemWindows Method
Sets whether or not this view should account for system screen decorations such as the status bar and inset its content; that is, controlling whether the default implementation of View.FitSystemWindows(Android.Graphics.Rect) will be executed.

Syntax

[Android.Runtime.Register("setFitsSystemWindows", "(Z)V", "GetSetFitsSystemWindows_ZHandler")]
public virtual void SetFitsSystemWindows (bool fitSystemWindows)

See Also

View.FitsSystemWindows
View.FitSystemWindows(Android.Graphics.Rect)
View.SystemUiVisibility

Parameters

fitSystemWindows
If true, then the default implementation of View.FitSystemWindows(Android.Graphics.Rect) will be executed.

Remarks

Sets whether or not this view should account for system screen decorations such as the status bar and inset its content; that is, controlling whether the default implementation of View.FitSystemWindows(Android.Graphics.Rect) will be executed. See that method for more details.

Note that if you are providing your own implementation of View.FitSystemWindows(Android.Graphics.Rect), then there is no need to set this flag to true -- your implementation will be overriding the default implementation that checks this flag.

[Android Documentation]

Requirements

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