garretyoder / Colorful

Android runtime theme library
Apache License 2.0
2.13k stars 194 forks source link

Material Drawer Theming Support? #41

Closed shripal17 closed 6 years ago

shripal17 commented 6 years ago

This is the best theming library i have found so far!

I hope you add support for Mike Penz's Material Drawer Library (also MaterialDrawerKt which is based on the original Library)

I tried using the Colorful's

                .setCustomThemeOverride(R.style.AppTheme)

with the theme attributes specified here but it doesnt seem to work or maybe I'm doing it wrong?

garretyoder commented 6 years ago

What exactly isn't working? At it's core, colorful is very simple. It uses Android's native style engine, just as if you set a style in xml. How different libraries react and use the Android styles is up to them, not colorful.

shripal17 commented 6 years ago

Specifically, the dark theme doesn't get applied to the navigation drawer built dynamically by the above mentioned library. Thanks

garretyoder commented 6 years ago

If you set a custom theme, or disable theme overriding you will disable dark theme functionality, please see the wiki for more info on this.

Other than that, the library you're using not respecting the Android style isn't a colorful issue, you would run into the same issue with or without colorful. Colorful uses Android's style engine and just provides more features to it.

Closing as this is a issue unrelated to colorful. If you have any further questions please open another ticket.