I have an application that has to be branded for two different customers. The application design, code, usage and flow are identical. The branding is purely changing android resources to use different colors and fonts, currently. It's also possible that they would use different drawables and layouts. Also there are some resources that are the same for both brands.
Currently, we just have two different projects with duplicate code files but different sets of resource files.
Is it possible to have one project with all the resources (common resources, brand-1 resources and brand-2 resources) and have a compile time flag to decide which set of resources to use?
Edit: I am looking for something similar to having different sets of layouts and resources based on screen size and densities.