Skip to content

Commit

Permalink
Merge pull request #163 from caiyonglong/master
Browse files Browse the repository at this point in the history
取R-def.txt时,需要将R-def.txt的值中的"."转换成"_"
  • Loading branch information
kezong committed Jul 5, 2020
2 parents 374bf51 + 53b239e commit 485f4b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/src/main/groovy/com/kezong/fataar/RProcessor.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ class RProcessor {
return
}
def subclass = splits.get(0)
def name = splits.get(1)
if (subclass == "attr?"){
def name = splits.get(1).repleace(".", "_")

This comment has been minimized.

Copy link
@mkopec87

mkopec87 Aug 12, 2020

Contributor

There is a typo, should be "replace", not "repleace"

if (subclass == "attr?") {
//styleable attributes
subclass = "attr"
}
Expand Down

0 comments on commit 485f4b7

Please sign in to comment.