[Settings] Fix color contrast on alert dialogs

This change updates the light theme color roles for alert dialogs.

Bug: b/338311586
Test: emulator
Flag: EXEMPT resource only update
Change-Id: Ie4bd5accd9a775d49d8559b10124f81486c72b8e
This commit is contained in:
Andreea Costinas
2024-09-20 14:37:04 +00:00
parent bedfb69f67
commit d9f36f94f7

View File

@@ -114,13 +114,7 @@
<item name="android:windowSoftInputMode">adjustResize</item>
</style>
<style name="Theme.AlertDialog.Base" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert">
<item name="colorAccent">@android:color/system_primary_light</item>
<item name="android:colorError">@color/settings_dialog_colorError</item>
<item name="android:colorBackground">@android:color/system_surface_container_high_light</item>
</style>
<style name="Theme.AlertDialog" parent="Theme.AlertDialog.Base">
<style name="Theme.AlertDialog" parent="@style/Theme.AppCompat.DayNight.Dialog.Alert">
<item name="android:windowSoftInputMode">adjustResize</item>
<item name="android:clipToPadding">true</item>
<item name="android:clipChildren">true</item>