Visit children nodes even if layout XML tag is ignored

This commit is contained in:
Yan Zhulanow
2015-05-05 15:12:44 +03:00
parent c774eac0e3
commit 1ae2719d34
@@ -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) {