LayoutInflater.CreateView(String, String, IAttributeSet) LayoutInflater.CreateView(String, String, IAttributeSet) Method

Definition

Low-level function for instantiating a view by name.

[Android.Runtime.Register("createView", "(Ljava/lang/String;Ljava/lang/String;Landroid/util/AttributeSet;)Landroid/view/View;", "")]
public Android.Views.View CreateView (string name, string prefix, Android.Util.IAttributeSet attrs);
member this.CreateView : string * string * Android.Util.IAttributeSet -> Android.Views.View

Parameters

name
String String

The full name of the class to be instantiated.

prefix
String String
attrs
IAttributeSet IAttributeSet

The XML attributes supplied for this instance.

Returns

Exceptions

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