Udostępnij za pośrednictwem


Drawable.CreateFromXmlInner Method

Definition

Overloads

CreateFromXmlInner(Resources, XmlReader, IAttributeSet)

Create from inside an XML document.

CreateFromXmlInner(Resources, XmlReader, IAttributeSet, Resources+Theme)

Create from inside an XML document.

CreateFromXmlInner(Resources, XmlReader, IAttributeSet)

Create from inside an XML document.

[Android.Runtime.Register("createFromXmlInner", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/graphics/drawable/Drawable;", "")]
public static Android.Graphics.Drawables.Drawable CreateFromXmlInner (Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Util.IAttributeSet attrs);
[<Android.Runtime.Register("createFromXmlInner", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/graphics/drawable/Drawable;", "")>]
static member CreateFromXmlInner : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet -> Android.Graphics.Drawables.Drawable

Parameters

parser
XmlReader

Returns

Attributes

Exceptions

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.

Java documentation for android.graphics.drawable.Drawable.createFromXmlInner(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet).

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

CreateFromXmlInner(Resources, XmlReader, IAttributeSet, Resources+Theme)

Create from inside an XML document.

[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 Android.Graphics.Drawables.Drawable CreateFromXmlInner (Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Util.IAttributeSet attrs, Android.Content.Res.Resources.Theme? theme);
[<Android.Runtime.Register("createFromXmlInner", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;", "")>]
static member CreateFromXmlInner : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet * Android.Content.Res.Resources.Theme -> Android.Graphics.Drawables.Drawable

Parameters

parser
XmlReader

Returns

Attributes

Exceptions

Remarks

Java documentation for android.graphics.drawable.Drawable.createFromXmlInner(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet).

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