From 8b4d90f29747199f3ffef33b0d480d7eac9dbd6c Mon Sep 17 00:00:00 2001 From: Danny Epstein Date: Thu, 26 May 2016 12:50:41 -0700 Subject: [PATCH] Top and bottom padding for watch preferences. BUG: 27779149 Change-Id: I4a2a79e249d30c58d7729876adf58935b81015e4 --- core/res/res/layout/preference_list_fragment.xml | 2 -- .../res/res/layout/preference_list_fragment_material.xml | 2 -- core/res/res/values-notround/styles_micro.xml | 2 ++ core/res/res/values-round/styles_micro.xml | 9 +++++++++ core/res/res/values/styles.xml | 2 ++ core/res/res/values/themes_micro.xml | 4 ++++ 6 files changed, 17 insertions(+), 4 deletions(-) diff --git a/core/res/res/layout/preference_list_fragment.xml b/core/res/res/layout/preference_list_fragment.xml index fc53a1a061b23..c43975e4ad3c7 100644 --- a/core/res/res/layout/preference_list_fragment.xml +++ b/core/res/res/layout/preference_list_fragment.xml @@ -33,8 +33,6 @@ style="?attr/preferenceFragmentListStyle" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="0dip" - android:paddingBottom="@dimen/preference_fragment_padding_bottom" android:scrollbarStyle="@integer/preference_fragment_scrollbarStyle" android:clipToPadding="false" android:drawSelectorOnTop="false" diff --git a/core/res/res/layout/preference_list_fragment_material.xml b/core/res/res/layout/preference_list_fragment_material.xml index e411c0e92a184..db2fe7d038e06 100644 --- a/core/res/res/layout/preference_list_fragment_material.xml +++ b/core/res/res/layout/preference_list_fragment_material.xml @@ -32,8 +32,6 @@ viewStart + + + diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 790dcfa3f1270..273086d5a35fa 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -1122,6 +1122,8 @@ please see styles_device_defaults.xml. diff --git a/core/res/res/values/themes_micro.xml b/core/res/res/values/themes_micro.xml index 89c33b2bdf106..63a6a484a309c 100644 --- a/core/res/res/values/themes_micro.xml +++ b/core/res/res/values/themes_micro.xml @@ -52,6 +52,10 @@ @color/primary_micro_dark @color/accent_micro_dark ?attr/colorPrimary + + + @style/PreferenceFragment.Micro + @style/PreferenceFragmentList.Micro