Language

WindowInsets.Builder.SetDisplayShape(DisplayShape) Method

Definition

Sets the display shape represented by the window insets being built.

[Android.Runtime.Register("setDisplayShape", "(Landroid/view/DisplayShape;)Landroid/view/WindowInsets$Builder;", "", ApiSince=34)]
public Android.Views.WindowInsets.Builder SetDisplayShape(Android.Views.DisplayShape displayShape);
[<Android.Runtime.Register("setDisplayShape", "(Landroid/view/DisplayShape;)Landroid/view/WindowInsets$Builder;", "", ApiSince=34)>]
member this.SetDisplayShape : Android.Views.DisplayShape -> Android.Views.WindowInsets.Builder

Parameters

displayShape
DisplayShape

The Android.Views.DisplayShape value used for display shape.

Returns

The result of the set display shape operation.

Attributes

Remarks

For details, see the Android reference documentation for android.view.WindowInsets.Builder.setDisplayShape.

Java documentation for android.view.WindowInsets.Builder.setDisplayShape.

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