Android Guides | Samples

Android.Graphics.Drawables.Drawable.CreateFromXmlInner Method

Create from inside an XML document.

Syntax

[Android.Runtime.Register("createFromXmlInner", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/graphics/drawable/Drawable;", "")]
public static Drawable CreateFromXmlInner (Resources r, XmlReader parser, IAttributeSet attrs)

Parameters

r
parser
attrs

Exceptions

TypeReason
XmlPullParserException
IOException

Remarks

Create from inside an XML document. Called on a parser positioned at a tag in an XML document, tries to create a Drawable from that tag. Returns null if the tag is not a valid drawable.

[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