Share via


WindowInsets.Builder Constructors

Definition

Overloads

WindowInsets.Builder()

Creates a builder where all insets are initially consumed.

WindowInsets.Builder(WindowInsets)

Creates a builder where all insets are initialized from WindowInsets.

WindowInsets.Builder()

Creates a builder where all insets are initially consumed.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=29)]
public Builder ();
Attributes

Remarks

Creates a builder where all insets are initially consumed.

Java documentation for android.view.WindowInsets.Builder.WindowInsets$Builder().

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

WindowInsets.Builder(WindowInsets)

Creates a builder where all insets are initialized from WindowInsets.

[Android.Runtime.Register(".ctor", "(Landroid/view/WindowInsets;)V", "", ApiSince=29)]
public Builder (Android.Views.WindowInsets insets);
[<Android.Runtime.Register(".ctor", "(Landroid/view/WindowInsets;)V", "", ApiSince=29)>]
new Android.Views.WindowInsets.Builder : Android.Views.WindowInsets -> Android.Views.WindowInsets.Builder

Parameters

insets
WindowInsets

the instance to initialize from.

Attributes

Remarks

Creates a builder where all insets are initialized from WindowInsets.

Java documentation for android.view.WindowInsets.Builder.WindowInsets$Builder(android.view.WindowInsets).

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