From 732ff785051c8e2805d54ab9d866348003ef95a5 Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Thu, 27 May 2021 23:00:14 +0800 Subject: [PATCH] Fix GAR color constrast issue on dialog Based on the UX definition, we use color surface for the background color of dialog. Test: A11y scanner tool confirms again and no color constrast issue. Fix: 187396623 Change-Id: I2f89193f7c584e8fc468aa035ce329c22e2ad7f1 --- res/values-night/colors.xml | 2 -- res/values-night/themes.xml | 5 +++-- res/values/colors.xml | 3 --- res/values/themes.xml | 5 +++-- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/res/values-night/colors.xml b/res/values-night/colors.xml index 2cdbd3f107a..3c829f41fed 100644 --- a/res/values-night/colors.xml +++ b/res/values-night/colors.xml @@ -21,8 +21,6 @@ #3F5FBD @*android:color/material_grey_900 @*android:color/material_grey_900 - - @*android:color/material_grey_800 @*android:color/material_grey_800 #AECBFA #5F6368 diff --git a/res/values-night/themes.xml b/res/values-night/themes.xml index d80b271d14b..9faaede1785 100644 --- a/res/values-night/themes.xml +++ b/res/values-night/themes.xml @@ -15,7 +15,8 @@ limitations under the License. --> - + diff --git a/res/values/colors.xml b/res/values/colors.xml index ab8489cd4e7..c4f28f7316c 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -147,9 +147,6 @@ ?androidprv:attr/colorSurface - - @*android:color/background_device_default_light - #ffdadce0 #4182ef diff --git a/res/values/themes.xml b/res/values/themes.xml index 9681b030bcc..07ca82dfbe9 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -14,7 +14,8 @@ limitations under the License. --> - +