Drawable.CreateFromXmlInner Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- attrs
- IAttributeSet
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.
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
- attrs
- IAttributeSet
- theme
- Resources.Theme
Returns
- Attributes
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.