Språk

WindowInsets.Builder.SetFrame(Int32, Int32) Method

Definition

Sets the frame dimensions used to construct the window insets.

[Android.Runtime.Register("setFrame", "(II)Landroid/view/WindowInsets$Builder;", "", ApiSince=35)]
public Android.Views.WindowInsets.Builder SetFrame(int width, int height);
[<Android.Runtime.Register("setFrame", "(II)Landroid/view/WindowInsets$Builder;", "", ApiSince=35)>]
member this.SetFrame : int * int -> Android.Views.WindowInsets.Builder

Parameters

width
Int32

the width of the frame.

height
Int32

the height of the frame.

Returns

This builder.

Attributes

Remarks

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

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

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