tweak the dialog background colors

This commit is contained in:
tibbi 2017-01-10 19:13:54 +01:00
parent bbd797abad
commit bbaf77581b
2 changed files with 12 additions and 0 deletions

View File

@ -8,4 +8,13 @@
<item name="android:background">?android:attr/selectableItemBackground</item>
</style>
<style name="DialogTheme" parent="Theme.AppCompat.Light.Dialog">
<item name="colorAccent">@color/color_primary</item>
</style>
<style name="DialogTheme.Dark" parent="Theme.AppCompat.Dialog">
<item name="colorAccent">@color/color_primary</item>
<item name="android:windowBackground">@color/default_background_color_dark_theme</item>
</style>
</resources>

View File

@ -18,9 +18,12 @@
<style name="DialogTheme" parent="Theme.AppCompat.Light.Dialog">
<item name="colorAccent">@color/color_primary</item>
<item name="android:windowBackground">@android:color/transparent</item>
</style>
<style name="DialogTheme.Dark" parent="Theme.AppCompat.Dialog">
<item name="colorAccent">@color/color_primary</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:colorBackground">@color/default_background_color_dark_theme</item>
</style>
</resources>