Android.Graphics.Drawables.Drawable.CreateFromXml Method
Create a drawable from an XML document.

Syntax

[Android.Runtime.Register("createFromXml", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;)Landroid/graphics/drawable/Drawable;", "")]
public static Drawable CreateFromXml (Android.Content.Res.Resources r, System.Xml.XmlReader parser)

Parameters

r
Documentation for this section has not yet been entered.
parser
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Org.XmlPull.V1.XmlPullParserException
Java.IO.IOException

Remarks

Create a drawable from an XML document. For more information on how to create resources in XML, see Drawable Resources.

[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