IViewManager.AddView(View, ViewGroup+LayoutParams) IViewManager.AddView(View, ViewGroup+LayoutParams) Method

Definition

Assign the passed LayoutParams to the passed View and add the view to the window.

[Android.Runtime.Register("addView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", "GetAddView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_Handler:Android.Views.IViewManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddView (Android.Views.View view, Android.Views.ViewGroup.LayoutParams params);
abstract member AddView : Android.Views.View * Android.Views.ViewGroup.LayoutParams -> unit

Parameters

view
View View

The view to be added to this window.

params
ViewGroup.LayoutParams ViewGroup.LayoutParams

The LayoutParams to assign to view.

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