diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-07-02 18:16:35 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-07-07 17:42:17 -0700 |
commit | 5c3fd1cea33ad4d326e8d7b62189134f08fb56f9 (patch) | |
tree | 8d91e9b5eed0d2016dcf48381cb0db406970c0c9 /res/values/styles.xml | |
parent | 5fc8214555d1e705a559d52c286b38d8721316b7 (diff) | |
download | packages_apps_Settings-5c3fd1cea33ad4d326e8d7b62189134f08fb56f9.zip packages_apps_Settings-5c3fd1cea33ad4d326e8d7b62189134f08fb56f9.tar.gz packages_apps_Settings-5c3fd1cea33ad4d326e8d7b62189134f08fb56f9.tar.bz2 |
Define a specific preferenceFragmentStyle in Settings Theme
- needed for being able to have PreferenceFragments look as the Dashboard
See bug: #15384992 Setting Dashboard - padding updates
Change-Id: I098008a131aa29594025b38dd0dc07c1cc3bffdc
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r-- | res/values/styles.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 99a203a..6d2fdd7 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -127,6 +127,10 @@ <style name="SettingsPreferenceHeaderList" parent="@*android:style/PreferenceHeaderList"> </style> + <style name="PreferenceFragmentStyle" parent="@*android:style/PreferenceFragment"> + <item name="android:layout">@layout/preference_list_fragment</item> + </style> + <style name="VertDivider"> <item name="android:layout_width">@dimen/vert_divider_width</item> <item name="android:layout_height">fill_parent</item> |