Language

Drawable.CreateFromXmlAsync Method

Definition

Overloads

CreateFromXmlAsync(Resources, XmlReader)

public static System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable> CreateFromXmlAsync(Android.Content.Res.Resources r, System.Xml.XmlReader parser);
static member CreateFromXmlAsync : Android.Content.Res.Resources * System.Xml.XmlReader -> System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable>

Parameters

r
Resources

The resources used to load the drawable.

parser
XmlReader

The XML reader that supplies the drawable definition.

Returns

A task whose result is the value returned by CreateFromXml(Resources, XmlReader).

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

CreateFromXmlAsync(Resources, XmlReader, Resources+Theme)

public static System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable> CreateFromXmlAsync(Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Content.Res.Resources.Theme? theme);
static member CreateFromXmlAsync : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Content.Res.Resources.Theme -> System.Threading.Tasks.Task<Android.Graphics.Drawables.Drawable>

Parameters

r
Resources

The resources used to load the drawable.

parser
XmlReader

The XML reader that supplies the drawable definition.

theme
Resources.Theme

The optional theme used when creating the drawable.

Returns

A task whose result is the value returned by CreateFromXml(Resources, XmlReader, Resources+Theme).

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