Drawable.Inflate Drawable.Inflate Method

Definition

Overloads

Inflate(Resources, XmlReader, IAttributeSet) Inflate(Resources, XmlReader, IAttributeSet)

Inflate this Drawable from an XML resource.

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

Inflate this Drawable from an XML resource optionally styled by a theme.

Inflate(Resources, XmlReader, IAttributeSet) Inflate(Resources, XmlReader, IAttributeSet)

Inflate this Drawable from an XML resource.

[Android.Runtime.Register("inflate", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)V", "GetInflate_Landroid_content_res_Resources_Lorg_xmlpull_v1_XmlPullParser_Landroid_util_AttributeSet_Handler")]
public virtual void Inflate (Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Util.IAttributeSet attrs);
abstract member Inflate : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet -> unit
override this.Inflate : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet -> unit

Parameters

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.

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

Inflate this Drawable from an XML resource optionally styled by a theme.

[Android.Runtime.Register("inflate", "(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)V", "GetInflate_Landroid_content_res_Resources_Lorg_xmlpull_v1_XmlPullParser_Landroid_util_AttributeSet_Landroid_content_res_Resources_Theme_Handler", ApiSince=21)]
public virtual void Inflate (Android.Content.Res.Resources r, System.Xml.XmlReader parser, Android.Util.IAttributeSet attrs, Android.Content.Res.Resources.Theme theme);
abstract member Inflate : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet * Android.Content.Res.Resources.Theme -> unit
override this.Inflate : Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet * Android.Content.Res.Resources.Theme -> unit

Parameters

r
Resources Resources

Resources used to resolve attribute values

parser
XmlReader XmlReader

XML parser from which to inflate this Drawable

attrs
IAttributeSet IAttributeSet

Base set of attribute values

theme
Resources.Theme Resources.Theme

Theme to apply, may be null

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