I want to create a subfolder in drawable because I am using many images in my application and would like to organize them. How do I create and leave the folder visible to be used?
I want to create a subfolder in drawable because I am using many images in my application and would like to organize them. How do I create and leave the folder visible to be used?
You can use Android Studio with Gradle to have multiple feature directories, in app / build.gradle:
android {
....
android.sourceSets {
main.res.srcDirs = ['src/main/pastaextra_carros', 'src/main/res']
}
....
}
However, the names of the files in these folders can not be the same, which means that you still have to use the nomenclature of red_carts.png and red_computers.png