Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Our team decided we didn't want to do it at build time because they didn't like the somewhat messy scripting that would be required to copy over the color values in the colors.xml file. Also, we want the configuration to be as build-independent as possible so that the only thing we need to provide is a merchant settings file.
    – RocketGuy3
    Commented Jun 25, 2013 at 15:43
  • 1
    You could treat the bulk of the app as a shared library, then have each individual merchant instance of a 'real' app override the colors.xml file. See developer.android.com/tools/projects/index.html#LibraryProjects for more info. That would end up requiring more than 'one merchant settings file', but would solve the problem and be the 'supported' solution per Android SDK designs.
    – Jon Adams
    Commented Jun 25, 2013 at 16:02