Udostępnij za pośrednictwem


ShapeDrawable.InflateTag(String, Resources, XmlReader, IAttributeSet) Method

Definition

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
parser
XmlReader

Returns

Attributes

Remarks

Subclasses override this to parse custom subelements. If you handle it, return true, else return <em>super.inflateTag(...)</em>.

Java documentation for android.graphics.drawable.ShapeDrawable.inflateTag(java.lang.String, 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