Android.Views.View.Inflate Method
Inflate a view from an XML resource.

Syntax

[Android.Runtime.Register("inflate", "(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;", "")]
public static View Inflate (Android.Content.Context context, int resource, ViewGroup root)

See Also

LayoutInflater

Parameters

context
The Context object for your activity or application.
resource
The resource ID to inflate
root
A view group that will be the parent. Used to properly inflate the layout_* parameters.

Returns

Documentation for this section has not yet been entered.

Remarks

Inflate a view from an XML resource. This convenience method wraps the Android.Views.LayoutInflater class, which provides a full range of options for view inflation.

[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