Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why time picker is not using declared material colors? #741

Open
Klewerro opened this issue Mar 1, 2022 · 1 comment
Open

Why time picker is not using declared material colors? #741

Klewerro opened this issue Mar 1, 2022 · 1 comment

Comments

@Klewerro
Copy link

Klewerro commented Mar 1, 2022

Im partially using Material theme in my application.
Why date picker is using its default colors, instead of my declared material colors?

<style name="Theme.BehaWifiAndroid" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Primary brand color. -->
        <item name="colorPrimary">@color/white</item>
        <item name="colorPrimaryVariant">@color/charcoal_grey</item>
        <item name="colorOnPrimary">@color/charcoal_grey</item>
        <!-- Secondary brand color. -->
        <item name="colorSecondary">@color/blue</item>
        <item name="colorSecondaryVariant">@color/blue</item>
        <item name="colorOnSecondary">@color/black</item>
        ...
</style>
@Klewerro Klewerro changed the title Why time picker is not using material colors? Why time picker is not using declared material colors? Mar 1, 2022
@Klewerro
Copy link
Author

Klewerro commented Mar 1, 2022

I tried to use library in empty project using Theme.MaterialComponents.DayNight.NoActionBar theme. Then I could set colors by primary, secondary and accent colors.
In primary app I cannot change style, so then how can I style up popup?

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

No branches or pull requests

1 participant