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
This commit is contained in:
Raju Yadav
2014-07-03 10:11:01 +02:00
committed by Henrik Baard
parent 1a3908e959
commit 6526bc7634

View File

@@ -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" />