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
This commit is contained in:
Chun-Ku Lin
2024-01-12 23:27:34 +00:00
parent 42bcdcfdfd
commit 0552c18287

View File

@@ -26,14 +26,15 @@
<ImageView <ImageView
android:id="@+id/color_swatch" android:id="@+id/color_swatch"
android:layout_width="96dp" android:layout_width="match_parent"
android:layout_height="96dp" android:layout_height="96dp"
android:contentDescription="@null" /> android:contentDescription="@null" />
<TextView <TextView
android:id="@+id/summary" android:id="@+id/summary"
android:layout_width="96dp" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" /> android:gravity="center"
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1" />
</LinearLayout> </LinearLayout>