Fix background of AlertDialogs for DialogPreferences

This commit is contained in:
Torsten Grote 2018-01-29 17:02:25 -02:00
parent f83094d9fe
commit 95b138b5d5
No known key found for this signature in database
GPG Key ID: 3E5F77D92CF891FF

View File

@ -78,6 +78,7 @@
<style name="AlertDialogBaseThemeDark" parent="Theme.AppCompat.Dialog.Alert" /> <style name="AlertDialogBaseThemeDark" parent="Theme.AppCompat.Dialog.Alert" />
<style name="AlertDialogThemeDark" parent="AlertDialogBaseThemeDark"> <style name="AlertDialogThemeDark" parent="AlertDialogBaseThemeDark">
<item name="colorAccent">@color/fdroid_green</item> <item name="colorAccent">@color/fdroid_green</item>
<item name="android:windowBackground">@color/cardview_dark_background</item>
</style> </style>
<style name="AlertDialogBaseThemeLight" parent="Theme.AppCompat.Light.Dialog.Alert" /> <style name="AlertDialogBaseThemeLight" parent="Theme.AppCompat.Light.Dialog.Alert" />