Android flavors with different base themes

后端 未结 3 955
死守一世寂寞
死守一世寂寞 2021-01-05 22:02

I\'ve an android project with multiple flavors that I\'m working on.

This works fine and I can customize elements of the app such as colors and string resources.

3条回答
  •  醉梦人生
    2021-01-05 22:19

    better way to create a base style, that contains the default values, then in the main source style and now style extending it (but likely doing nothing). In the flavor you can then extend it and override what you need.

提交回复
热议问题