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
diff --git a/res/layout/color_picker_item.xml b/res/layout/color_picker_item.xml
index 5599eb4..a9239e2 100644
--- a/res/layout/color_picker_item.xml
+++ b/res/layout/color_picker_item.xml
@@ -26,14 +26,15 @@
<ImageView
android:id="@+id/color_swatch"
- android:layout_width="96dp"
+ android:layout_width="match_parent"
android:layout_height="96dp"
android:contentDescription="@null" />
<TextView
android:id="@+id/summary"
- android:layout_width="96dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:gravity="center" />
+ android:gravity="center"
+ android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />
</LinearLayout>