Android.Views.LayoutInflater.OnCreateView Method
This routine is responsible for creating the correct subclass of View given the xml element name.

Syntax

[Android.Runtime.Register("onCreateView", "(Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;", "GetOnCreateView_Ljava_lang_String_Landroid_util_AttributeSet_Handler")]
protected virtual View OnCreateView (string name, Android.Util.IAttributeSet attrs)

Parameters

name
The fully qualified class name of the View to be create.
attrs
An AttributeSet of attributes to apply to the View.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ClassNotFoundException

Remarks

This routine is responsible for creating the correct subclass of View given the xml element name. Override it to handle custom view objects. If you override this in your subclass be sure to call through to super.onCreateView(name) for names you do not recognize.

[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