Skip to content

Commit 485f4b7

Browse files
authored
Merge pull request #163 from caiyonglong/master
取R-def.txt时,需要将R-def.txt的值中的"."转换成"_"
2 parents 374bf51 + 53b239e commit 485f4b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎source/src/main/groovy/com/kezong/fataar/RProcessor.groovy‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ class RProcessor {
147147
return
148148
}
149149
def subclass = splits.get(0)
150-
def name = splits.get(1)
151-
if (subclass == "attr?"){
150+
def name = splits.get(1).repleace(".", "_")
151+
if (subclass == "attr?") {
152152
//styleable attributes
153153
subclass = "attr"
154154
}

0 commit comments

Comments
 (0)