garretyoder/Colorful

How to customize views in theme?

Morteza-Rastgoo opened this issue · 0 comments

I have forced to load an style by calling:

            Colorful().edit()
                .setPrimaryColor(ThemeColor.RED)
                .setAccentColor(ThemeColor.BLUE)
                .setDarkTheme(false)
                .setTranslucent(false)
                .setCustomThemeOverride(R.style.AppThemeDark)
                .apply(activity!!) { activity!!.recreate() }

And set a textAppearance in my style:
Screen Shot 1397-12-21 at 15 11 45

But nothing seems to take a change in text color of my textviews or buttons.

Is there any guide to how to customize widgets?