SurfaceControlViewHost.Relayout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Relayout(SurfaceControlViewHost+LayoutParams) |
Modifies the LayoutParams of the root view. |
| Relayout(Int32, Int32) |
Modify the size of the root view. |
Relayout(SurfaceControlViewHost+LayoutParams)
Modifies the LayoutParams of the root view.
[Android.Runtime.Register("relayout", "(Landroid/view/SurfaceControlViewHost$LayoutParams;)V", "GetRelayout_Landroid_view_SurfaceControlViewHost_LayoutParams_Handler", ApiSince=37)]
public virtual void Relayout(Android.Views.SurfaceControlViewHost.LayoutParams attrs);
[<Android.Runtime.Register("relayout", "(Landroid/view/SurfaceControlViewHost$LayoutParams;)V", "GetRelayout_Landroid_view_SurfaceControlViewHost_LayoutParams_Handler", ApiSince=37)>]
abstract member Relayout : Android.Views.SurfaceControlViewHost.LayoutParams -> unit
override this.Relayout : Android.Views.SurfaceControlViewHost.LayoutParams -> unit
Parameters
- Attributes
Remarks
Modifies the LayoutParams of the root view.
Android reference for android.view.SurfaceControlViewHost.relayout.
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
Relayout(Int32, Int32)
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.