Skip to content

Commit

Permalink
MOD: Compatible with innerclass type tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoJiang committed Feb 7, 2023
1 parent 549de19 commit 8b05077
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ internal fun parseXml(saxParser: SAXParser, file: File, logger: Logger): List<La
saxParser.parse(
inputStream,
AndroidXmlHandler { id, tag ->
val resource = parseAndroidResource(id, tag)
val safeTag = tag.replace("$", ".")
val resource = parseAndroidResource(id, safeTag)
if (resource is AndroidResource.Widget) {
list.add(LayoutNodeItem(resource.id, resource.xmlType))
}
Expand Down

0 comments on commit 8b05077

Please sign in to comment.