mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 06:35:48 +03:00
DatePickerDialog: fix theme
Extend from Dialog, not Dialog.Alert. Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
694b8fda56
commit
bcafbbbd5b
1 changed files with 3 additions and 4 deletions
|
@ -76,17 +76,16 @@
|
|||
<item name="colorError">@color/primary</item>
|
||||
</style>
|
||||
|
||||
<style name="FallbackDatePickerDialogTheme" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
|
||||
<style name="FallbackDatePickerDialogTheme" parent="Theme.MaterialComponents.DayNight.Dialog">
|
||||
<item name="colorPrimary">@color/bg_default</item>
|
||||
<item name="colorAccent">@color/bg_fallback_highlight</item>
|
||||
<item name="android:textAllCaps">false</item>
|
||||
<item name="android:windowBackground">@color/bg_default</item>
|
||||
<item name="android:textColor">@color/fg_inverse</item>
|
||||
<item name="android:datePickerStyle">@style/DatePickerStyle</item>
|
||||
<item name="colorControlHighlight">@color/bg_fallback_highlight</item>
|
||||
<item name="colorControlActivated">@color/bg_fallback_highlight</item>
|
||||
</style>
|
||||
|
||||
<style name="DatePickerStyle" parent="">
|
||||
<style name="DatePickerStyle">
|
||||
<item name="android:headerBackground">@color/bg_fallback_highlight</item>
|
||||
<item name="android:datePickerMode">calendar</item>
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue