I am working on an Android project using Eclipse. The project contains several modules that connect to the central core, and it would be advisable to organize them into subpackages, for example.
com.example.myapp - containing main classes and actions
com.example.myapp.module1 - classes and actions related to module 1
com.example.myapp.module2 - classes and actions related to module 2
etc. Since each module cannot work independently, everything is included in one Eclipse project.
Now it would be great to organize resources in separate packages. At the moment, all my layouts and drawings are precompiled in com.example.myapp.R .
Is there a way to organize a project so that Eclipse automatically puts resources for module 1 in com.example.myapp.module1.R , etc.?
Saran source share