summaryrefslogtreecommitdiffstats
path: root/res/layout/preference_list_fragment.xml
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-07-18 15:20:34 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2014-07-18 16:33:32 -0700
commitd40dd45c18a55d574d65b3a0ac16b59d76027049 (patch)
treef0aac03be6908bc27c829443bc16c82ac5205460 /res/layout/preference_list_fragment.xml
parent3bd05152421757e8f0c19edc6ba30361f64ceb51 (diff)
downloadpackages_apps_Settings-d40dd45c18a55d574d65b3a0ac16b59d76027049.zip
packages_apps_Settings-d40dd45c18a55d574d65b3a0ac16b59d76027049.tar.gz
packages_apps_Settings-d40dd45c18a55d574d65b3a0ac16b59d76027049.tar.bz2
Fix overdraw and do some layout optimizations
- use a specific layout for the Dashboard and for the Preferences - use a specific background for the Dashboard and for the Preferences The main idea here is that you cannot have the same layout / background because the Dashboard is using the "Z elevation" for having its card "poping up" Change-Id: I42b7c91efea14315b8a60cf3876938a7f1d1e0b3
Diffstat (limited to 'res/layout/preference_list_fragment.xml')
-rw-r--r--res/layout/preference_list_fragment.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/layout/preference_list_fragment.xml b/res/layout/preference_list_fragment.xml
index a97415e..8391641 100644
--- a/res/layout/preference_list_fragment.xml
+++ b/res/layout/preference_list_fragment.xml
@@ -36,8 +36,6 @@
android:scrollbarStyle="@*android:integer/preference_fragment_scrollbarStyle"
android:clipToPadding="false"
android:drawSelectorOnTop="false"
- android:cacheColorHint="@android:color/white"
- android:background="@drawable/preference_list_fragment_background"
android:elevation="@dimen/dashboard_category_elevation"
android:scrollbarAlwaysDrawVerticalTrack="true" />
@@ -82,6 +80,8 @@
android:text="@*android:string/next_button_label"
/>
</LinearLayout>
+
</RelativeLayout>
+
</LinearLayout>