Is there a way to structure layout files, e.g. like in subfolders (as subfolders of resources are not supported)?
I have many layout files which all lie in the layout folder. This gets pretty
is it possible to somehow structure them, by tags, by subfolders or something else?
E.G.:
or
or
Yes, you can have multiple resource folders in your project using Gradle.
It allows you to organize not only your layout files but any kind of resources.
This is how the configuration looks like:
sourceSets {
main {
res.srcDirs = ['src/main/res', 'src/main/res2']
}
}
Documentation
Example Project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With