Drawable.CreateFromXml Drawable.CreateFromXml Method

Definition

Overloads

CreateFromXml(Resources, XmlReader) CreateFromXml(Resources, XmlReader)

Create a drawable from an XML document.

CreateFromXml(Resources, XmlReader, Resources+Theme) CreateFromXml(Resources, XmlReader, Resources+Theme)

Create a drawable from an XML document using an optional Resources.Theme.

CreateFromXml(Resources, XmlReader) CreateFromXml(Resources, XmlReader)

Create a drawable from an XML document.

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

Parameters

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.

CreateFromXml(Resources, XmlReader, Resources+Theme) CreateFromXml(Resources, XmlReader, Resources+Theme)

Create a drawable from an XML document using an optional Resources.Theme.

[Android.Runtime.Register("createFromXml", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;", "", ApiSince=21)]
public static Android.Graphics.Drawables.Drawable CreateFromXml (Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Content.Res.Resources.Theme theme);
static member CreateFromXml : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Content.Res.Resources.Theme -> Android.Graphics.Drawables.Drawable

Parameters

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