Android.Views.ViewGroup.AddView Method
Adds a child view with this ViewGroup's default layout parameters and the specified width and height.

Syntax

[Android.Runtime.Register("addView", "(Landroid/view/View;II)V", "GetAddView_Landroid_view_View_IIHandler")]
public virtual void AddView (View child, int width, int height)

Parameters

child
the child view to add
width
Documentation for this section has not yet been entered.
height
Documentation for this section has not yet been entered.

Remarks

Adds a child view with this ViewGroup's default layout parameters and the specified width and height.

Note: do not invoke this method from View.Draw(Android.Graphics.Canvas), View.OnDraw(Android.Graphics.Canvas), ViewGroup.dispatchDraw(android.graphics.Canvas) or any related method.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1