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 System.Int32 value used for width.

height
Int32

The System.Int32 value used for height.

Returns

The result of the set frame operation.

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