Window.SetLayout(Int32, Int32) Window.SetLayout(Int32, Int32) Method

Definition

Set the width and height layout parameters of the window.

[Android.Runtime.Register("setLayout", "(II)V", "GetSetLayout_IIHandler")]
public virtual void SetLayout (int width, int height);
abstract member SetLayout : int * int -> unit
override this.SetLayout : int * int -> unit

Parameters

width
Int32 Int32

The desired layout width of the window.

height
Int32 Int32

The desired layout height of the window.

Remarks

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