Android Guides | Samples

Android.App.Dialog.AddContentView Method

Add an additional content view to the screen.

Syntax

[Android.Runtime.Register("addContentView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", "GetAddContentView_Landroid_view_View_Landroid_view_ViewGroup_LayoutParams_Handler")]
public virtual Void AddContentView (View view, ViewGroup+LayoutParams params)

Parameters

view
The desired content to display.
params
Layout parameters for the view.

Remarks

Add an additional content view to the screen. Added after any existing ones in the screen -- existing views are NOT removed.

[Android Documentation]

Requirements

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