I'm creating an application in Android Studio that has many screens and many layout.xml
files. I wanted to organize them into sub-folders, is it possible?
I tried to edit Gradle Script
, but a lot of error messages appeared.
I'm creating an application in Android Studio that has many screens and many layout.xml
files. I wanted to organize them into sub-folders, is it possible?
I tried to edit Gradle Script
, but a lot of error messages appeared.
You can configure your folders with the following configuration in Gradle.
sourceSets {
main {
res.srcDirs = ['src/main/res', 'src/main/res2', 'src/main/res_qq_coisa']
}
}