From 6526bc7634714def49fec067196ed552b8bc4933 Mon Sep 17 00:00:00 2001 From: Raju Yadav Date: Thu, 3 Jul 2014 10:11:01 +0200 Subject: [PATCH] Text size for empty view shall be styled according to theme In activity_list.xml the empty TextView has set a textAppearance which allows the theme to set the font size. However, for preference_list_fragment.xml the textAppearance is missing but should follow the same style as activity_list.xml The missing textAppearance makes the empty text in Settings->Wifi and Settings->Bluetooth look small if no networks are found. Change-Id: I9320b37cfeec0d9505d73650696eaf534fc4a321 --- core/res/res/layout/preference_list_fragment.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/core/res/res/layout/preference_list_fragment.xml b/core/res/res/layout/preference_list_fragment.xml index 4e895b0417ff8..f073c33797273 100644 --- a/core/res/res/layout/preference_list_fragment.xml +++ b/core/res/res/layout/preference_list_fragment.xml @@ -41,6 +41,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:padding="@dimen/preference_fragment_padding_side" + android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center" android:visibility="gone" />