I have implemented material design for my app, and I want the user to be able to customize the colors for colorPrimary, colorPrimaryDark, and colorAccent. How to do that?
I want to have a settings activity where the user can select their own color and the change will apply to all my activities. Thanks.
<style name="MyTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>