Of course I can right click the raw folder and add new folder but when I export the project, the APK file does not contain the new sub folder.
You can organize your resources XML files (layout, drawable,..) into separate subfolders corresponding to the app's features.
A subfolder is a folder stored inside another folder. Subfolders help you organize your files more completely. Each subfolder should be used to store files related to each other. For example, you might have one folder for files related to a job search.
You can't.
The folders in /res/
have a predefined structure, and you can't add subfolders.
However, seeing as this is the raw
folder, you may want to look into using the assets
folder, in which sub folders are supported.
Keep in mind thought that by using assets
you won't be able to use R.*.*
references anymore. You will have to go through the AssetManager.
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