summaryrefslogtreecommitdiffstats
path: root/core/res/res/layout
diff options
context:
space:
mode:
authorRaju Yadav <raju.yadav@sonymobile.com>2014-07-03 10:11:01 +0200
committerSteve Kondik <steve@cyngn.com>2015-11-07 05:40:48 -0800
commit3fe8894faf54d51f6fe146fc3735ccb75cb05c2e (patch)
tree21003ac581f5b88567edf33e4c55366976a95950 /core/res/res/layout
parent35534d1c0be77ef547860678c5687f417fc57368 (diff)
downloadframeworks_base-3fe8894faf54d51f6fe146fc3735ccb75cb05c2e.zip
frameworks_base-3fe8894faf54d51f6fe146fc3735ccb75cb05c2e.tar.gz
frameworks_base-3fe8894faf54d51f6fe146fc3735ccb75cb05c2e.tar.bz2
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
Diffstat (limited to 'core/res/res/layout')
-rw-r--r--core/res/res/layout/preference_list_fragment.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/res/res/layout/preference_list_fragment.xml b/core/res/res/layout/preference_list_fragment.xml
index 4e895b0..f073c33 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" />