quickstart-android icon indicating copy to clipboard operation
quickstart-android copied to clipboard

[Firebase remote config] How to change property some fields in color.xml file or dimen.xml file

Open tvhieuit opened this issue 8 years ago • 2 comments

Hello all

I want to make my app dynamic color for all in app, So i want to change color.xml and dimen.xml but I dont know how to use.

Could you help me

    <color name="colorPrimary">#000</color>
    <color name="colorPrimaryDark">#000</color>
    <color name="colorAccent">#000</color>

Thank you so much

tvhieuit avatar Jul 07 '18 06:07 tvhieuit

#000 #000 #000

anipindie avatar Jul 07 '18 20:07 anipindie

@tvhieuit by default there is no connection between Remote Config and the theme of your app, you'd have to build that yourself. Remote Config can only help you get the string values (#000, etc) into your code over the air.

If you need help learning how to apply themes at runtime, please ask on StackOverflow.

samtstern avatar Jul 09 '18 15:07 samtstern