Freigeben über


SurfaceControlViewHost.Relayout(Int32, Int32) Method

Definition

Modify the size of the root view.

[Android.Runtime.Register("relayout", "(II)V", "GetRelayout_IIHandler", ApiSince=30)]
public virtual void Relayout (int width, int height);
[<Android.Runtime.Register("relayout", "(II)V", "GetRelayout_IIHandler", ApiSince=30)>]
abstract member Relayout : int * int -> unit
override this.Relayout : int * int -> unit

Parameters

width
Int32

Width in pixels

height
Int32

Height in pixels

Attributes

Remarks

Modify the size of the root view.

Java documentation for android.view.SurfaceControlViewHost.relayout(int, int).

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