fix alert dialog background color (#13010)

This commit is contained in:
Parvesh Monu 2022-01-18 00:45:40 +05:30 committed by GitHub
parent c44e5bbb67
commit 69221695b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="alert_text">#ffffff</color>
<color name="alert_background">#141414</color>
<color name="alert_text">#ffffff</color>
</resources>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="alert_text">#000000</color>
<color name="alert_background">#ffffff</color>
<color name="alert_text">#000000</color>
</resources>

View File

@ -23,8 +23,9 @@
<item name="android:windowLightStatusBar">false</item>
</style>
<style name="AlertDialogTheme" parent="Base.Theme.AppCompat.Light.Dialog.Alert">
<style name="AlertDialogTheme" parent="Theme.AppCompat.DayNight.Dialog.Alert">
<item name="android:textColor">@color/alert_text</item>
<item name="android:textColorPrimary">@color/alert_text</item>
<item name="android:background">@color/alert_background</item>
</style>
</resources>