Visit children nodes even if layout XML tag is ignored
This commit is contained in:
+4
-1
@@ -36,7 +36,10 @@ class AndroidXmlVisitor(val elementCallback: (String, String, XmlAttribute) -> U
|
||||
|
||||
override fun visitXmlTag(tag: XmlTag?) {
|
||||
val localName = tag?.getLocalName() ?: ""
|
||||
if (isWidgetTypeIgnored(localName)) return
|
||||
if (isWidgetTypeIgnored(localName)) {
|
||||
tag?.acceptChildren(this)
|
||||
return
|
||||
}
|
||||
|
||||
val idAttribute = tag?.getAttribute(AndroidConst.ID_ATTRIBUTE)
|
||||
if (idAttribute != null) {
|
||||
|
||||
Reference in New Issue
Block a user