Search code examples
androidbranding

Two sets of resources for one application


I'm developing an android application for a company that requires two different brandings for different client. I'm coding with Eclipse, and I'd like to know if it is possible to configure it to compile the application with each res folder, hence giving 2 differents .apk files.

Thanks, Antoine


Solution

  • Have a look at Library projects. You can have the code of the app and default resources in a library project, referenced from two (or more) app projects. In each app project you can override the resources as needed.