I have 2 different functionality to be implemented as part of a single application.
They have different screen flows and BL to be implemented but a singl开发者_如何学Goe apk,so it is transparent to the end user.
I have 100 screens for each of the flow,so can I have custom folder names in the resources directory for easy maintenance and loose coupling.
eg: res -layout
-layout_savings -layout_checking-drawable
-drawable_savings
-drawable_cheking
currently we have only the following structure res
-layout
-layout-land
-drawable
-values
Will there be any problem while generating the R.java file.
Any help would be appreciated.
for what you need , i suggest you to use the assets directory instead of res. in assets dir you can sort your files anyway you like (dir name/filename) . You access them with AssetManager.
this require a little change in code but i think this is the only way if you want to sort your file like that , res folder doesn't allow custom directory names.
(Or of course you can store files in the sdcard)
精彩评论