Custom styles of product flavors in Android Studio?



I have a module with several product flavors. The base theme (style) is defined within the module.


Now my idea was to modify this theme in every flavor, by adding a styles.xml in #flavor#/res/values/ folder and extend the style, as I did it before in Eclipse, using library project mechanism. But obviously the complete style is overriden. My intention was, that gradle is merging the files together correctly.


Any advice?


No comments:

Post a Comment