mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix dateTime dialog purple theme
This commit is contained in:
@@ -42,9 +42,16 @@
|
||||
<style name="KeepassDXStyle.Purple" parent="KeepassDXStyle.Purple.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?attr/colorAccent</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Light.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Light.DateTime.Dialog</item>
|
||||
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Purple.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Purple.DateTime.Dialog</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple.Dark" parent="KeepassDXStyle.Purple.Dark.v21" >
|
||||
<item name="preferenceTheme">@style/KeepassDXStyle.Preference.v21</item>
|
||||
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
||||
<item name="android:navigationBarColor">?android:attr/windowBackground</item>
|
||||
<item name="android:timePickerDialogTheme">@style/KeepassDXStyle.Purple.Dark.DateTime.Dialog</item>
|
||||
<item name="android:datePickerDialogTheme">@style/KeepassDXStyle.Purple.Dark.DateTime.Dialog</item>
|
||||
</style>
|
||||
|
||||
<!-- Preference Theme -->
|
||||
|
||||
@@ -81,6 +81,11 @@
|
||||
<item name="android:background">@color/white_purple</item>
|
||||
<item name="background">@color/white_purple</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/purple_light</item>
|
||||
<item name="android:windowBackground">@color/white_purple</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Purple" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/white_purple_light</item>
|
||||
|
||||
@@ -80,6 +80,11 @@
|
||||
<item name="android:background">@color/black_purple_dark</item>
|
||||
<item name="background">@color/black_purple_dark</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Purple.Dark.DateTime.Dialog" parent="Theme.AppCompat.DayNight.Dialog">
|
||||
<item name="colorAccent">@color/red</item>
|
||||
<item name="android:textColorPrimary">@color/purple_lighter</item>
|
||||
<item name="android:windowBackground">@color/black_purple_dark</item>
|
||||
</style>
|
||||
<!-- CardView -->
|
||||
<style name="KeepassDXStyle.Cardview.Purple.Dark" parent="CardView">
|
||||
<item name="cardBackgroundColor">@color/black_purple</item>
|
||||
|
||||
@@ -241,12 +241,12 @@
|
||||
<item name="background">@color/grey_dark</item>
|
||||
<item name="android:windowSoftInputMode">adjustResize</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Light.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog.Alert">
|
||||
<style name="KeepassDXStyle.Light.DateTime.Dialog" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">@color/orange</item>
|
||||
<item name="android:textColorPrimary">@color/green_dark</item>
|
||||
<item name="android:windowBackground">@color/white_dark</item>
|
||||
</style>
|
||||
<style name="KeepassDXStyle.Night.DateTime.Dialog" parent="Theme.AppCompat.Dialog.Alert">
|
||||
<style name="KeepassDXStyle.Night.DateTime.Dialog" parent="Theme.AppCompat.Dialog">
|
||||
<item name="colorAccent">@color/orange_dark</item>
|
||||
<item name="android:textColorPrimary">@color/green_light</item>
|
||||
<item name="android:windowBackground">@color/grey_dark</item>
|
||||
|
||||
Reference in New Issue
Block a user