Android Guides | Samples

Android.Graphics.Drawables.Drawable.CreateFromXmlInner Method

Syntax

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

Parameters

r
parser
attrs
theme

Exceptions

TypeReason
XmlPullParserException
IOException

Remarks

Create a drawable from inside an XML document using an optional NoType:android/content/res/Resources$Theme;Href=../../../../reference/android/content/res/Resources.Theme.html. 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