Window.SetDecorFitsSystemWindows(Boolean) Method

Definition

Sets whether the decor view should fit root-level content views for WindowInsets.

[Android.Runtime.Register("setDecorFitsSystemWindows", "(Z)V", "GetSetDecorFitsSystemWindows_ZHandler", ApiSince=30)]
public virtual void SetDecorFitsSystemWindows (bool decorFitsSystemWindows);
[<Android.Runtime.Register("setDecorFitsSystemWindows", "(Z)V", "GetSetDecorFitsSystemWindows_ZHandler", ApiSince=30)>]
abstract member SetDecorFitsSystemWindows : bool -> unit
override this.SetDecorFitsSystemWindows : bool -> unit

Parameters

decorFitsSystemWindows
Boolean

Whether the decor view should fit root-level content views for insets.

Attributes

Remarks

Java documentation for android.view.Window.setDecorFitsSystemWindows(boolean).

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