Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

How to customize views in theme? #44

Open
Morteza-Rastgoo opened this issue Mar 12, 2019 · 0 comments
Open

How to customize views in theme? #44

Morteza-Rastgoo opened this issue Mar 12, 2019 · 0 comments

Comments

@Morteza-Rastgoo
Copy link

Morteza-Rastgoo commented Mar 12, 2019

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant