From 0552c1828711c15e510cb9fa7d6c2787b6148ff4 Mon Sep 17 00:00:00 2001 From: Chun-Ku Lin Date: Fri, 12 Jan 2024 23:27:34 +0000 Subject: [PATCH] Fix text color contrast issue on Caption size and style screen Use the same textAppearance as the one defined in preset_picker_item.xml, which is used by the Edge type dialog on the same screen and doesn't have text color contrast issue. Bug: 319742556 Flag: EXEMPT (simple bug fix) Test: Manually by using Accessibility Scanner Change-Id: If078ce1daf8ba0b3cb6ffef860ff39e995d7446a --- res/layout/color_picker_item.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/res/layout/color_picker_item.xml b/res/layout/color_picker_item.xml index 5599eb4796d..a9239e2d274 100644 --- a/res/layout/color_picker_item.xml +++ b/res/layout/color_picker_item.xml @@ -26,14 +26,15 @@ + android:gravity="center" + android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />