From 1447f2652b041ef364a713c1292844d06401d0c1 Mon Sep 17 00:00:00 2001 From: Sunny Shao Date: Wed, 9 Jan 2019 17:59:07 +0800 Subject: [PATCH] use android:textAppearanceListItem to replace Preference subhead Use android:attr/textAppearanceListItem to replace style/Preference_TextAppearanceMaterialSubhead in the time_zone_search_item.xml Bug: 122043378 Test: compilation Change-Id: I8a19e6aa662b01fd4d8c2a0a139c787438d6d11c --- res/layout/time_zone_search_item.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/time_zone_search_item.xml b/res/layout/time_zone_search_item.xml index bb75226714d..8d059a8a205 100644 --- a/res/layout/time_zone_search_item.xml +++ b/res/layout/time_zone_search_item.xml @@ -63,7 +63,7 @@ instead of an ImageView --> android:layout_width="match_parent" android:layout_height="wrap_content" android:singleLine="true" - android:textAppearance="@style/Preference_TextAppearanceMaterialSubhead" + android:textAppearance="?android:attr/textAppearanceListItem" android:ellipsize="marquee" />