vikramkakkar / SublimePicker

A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.
Apache License 2.0
2.31k stars 408 forks source link

How to change footer background color? #79

Open anthony3444 opened 6 years ago

anthony3444 commented 6 years ago

Hi!

First at all thank you very much for this great library! I've upgraded to Android SDK 27.1.0 and now the background color of my Sublime picker has a grey color instead white...

picker

This is my original style:

<style name="DateTimePickerDefault" parent="SublimePickerStyleLight">
        <item name="colorAccent">@color/theme_accent_3</item>
        <item name="colorPrimaryDark">@color/theme_primary</item>
        <item name="colorPrimary">@color/icon_theme_primary</item>
        <item name="android:textColorPrimary">@color/icon_theme_primary</item>
        <item name="android:textColorSecondary">#727272</item>
        <item name="android:textColorPrimaryInverse">@android:color/white</item>
        <item name="android:textColor">@color/theme_primary</item>
    </style>

Thank you very much for your help!

chrisonline commented 6 years ago

Does it work if you use "SublimePickerStyleLight" instead of your own Style? I am using SDK 27.1.0 too and have no problems.