Window.SetContentView
Window.SetContentView
Method
Definition
Overloads
SetContentView(View) SetContentView(View) |
M:Android.Views.Window.SetContentView(Android.Views.View,.LayoutParams) |
SetContentView(Int32) SetContentView(Int32) |
M:Android.Views.Window.SetContentView(Android.Views.View,.LayoutParams) |
SetContentView(View, ViewGroup+LayoutParams) SetContentView(View, ViewGroup+LayoutParams) |
Set the screen content to an explicit view. |
SetContentView(View) SetContentView(View)
M:Android.Views.Window.SetContentView(Android.Views.View,.LayoutParams)
[Android.Runtime.Register("setContentView", "(Landroid/view/View;)V", "GetSetContentView_Landroid_view_View_Handler")]
public abstract void SetContentView (Android.Views.View view);
abstract member SetContentView : Android.Views.View -> unit
Parameters
Remarks
Portions of this page are modifications based on work created and shared by the
SetContentView(Int32) SetContentView(Int32)
M:Android.Views.Window.SetContentView(Android.Views.View,.LayoutParams)
[Android.Runtime.Register("setContentView", "(I)V", "GetSetContentView_IHandler")]
public abstract void SetContentView (int layoutResID);
abstract member SetContentView : int -> unit
Parameters
Remarks
Portions of this page are modifications based on work created and shared by the
SetContentView(View, ViewGroup+LayoutParams) SetContentView(View, ViewGroup+LayoutParams)
Set the screen content to an explicit view.
[Android.Runtime.Register("setContentView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", "GetSetContentView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_Handler")]
public abstract void SetContentView (Android.Views.View view, Android.Views.ViewGroup.LayoutParams params);
abstract member SetContentView : Android.Views.View * Android.Views.ViewGroup.LayoutParams -> unit
Parameters
Layout parameters for the view.
Remarks
Portions of this page are modifications based on work created and shared by the
- See also