Issue
As example: file res/values/strings.xml
is too huge.
How i can devide it using <include>
or something like that?
I would like to have
strings/actions.xml
strings/texts.xml
strings/font_icons.xml
Solution
We can easily create others string.xml like constant.xml etc.
values folder ->
- constant.xml
- string.xml
- language.xml
Edit Post :
Add below code in a gradle in android tag:
android {
sourceSets {
main {
res.srcDirs =
[
'src/main/res/values/campaign',
'src/main/res/values',
'src/main/res'
]
}
}
}
Answered By - Mavya Soni
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.