ShapeDrawable.InflateTag(String, Resources, XmlReader, IAttributeSet) 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.
Subclasses override this to parse custom subelements.
[Android.Runtime.Register("inflateTag", "(Ljava/lang/String;Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Z", "GetInflateTag_Ljava_lang_String_Landroid_content_res_Resources_Lorg_xmlpull_v1_XmlPullParser_Landroid_util_AttributeSet_Handler")]
protected virtual bool InflateTag(string? name, Android.Content.Res.Resources? r, System.Xml.XmlReader? parser, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register("inflateTag", "(Ljava/lang/String;Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Z", "GetInflateTag_Ljava_lang_String_Landroid_content_res_Resources_Lorg_xmlpull_v1_XmlPullParser_Landroid_util_AttributeSet_Handler")>]
abstract member InflateTag : string * Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet -> bool
override this.InflateTag : string * Android.Content.Res.Resources * System.Xml.XmlReader * Android.Util.IAttributeSet -> bool
Parameters
- name
- String
The name of the child element.
Resources used to obtain the element's attributes.
- parser
- XmlReader
The XML reader for the drawable being inflated.
- attrs
- IAttributeSet
The attributes of the child element.
Returns
true if the element was handled; otherwise, false.
- Attributes
Remarks
Subclasses override this to parse custom subelements. If you handle it, return true, else return <em>super.inflateTag(...)</em>.
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.