Android Guides | Samples

Android.Graphics.Drawables.Drawable.Inflate Method

Inflate this Drawable from an XML resource.

Syntax

[Android.Runtime.Register("inflate", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)V", "GetInflate_Landroid_content_res_Resources_Lorg_xmlpull_v1_XmlPullParser_Landroid_util_AttributeSet_Handler")]
public virtual Void Inflate (Resources r, XmlReader parser, IAttributeSet attrs)

See Also

Parameters

r
parser
attrs

Exceptions

TypeReason
XmlPullParserException
IOException

Remarks

Inflate this Drawable from an XML resource. Does not apply a theme.

[Android Documentation]

Requirements

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