From 0e4c59f7f6d57aae23344494c4eeb344fa00233b Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Fri, 28 Apr 2017 12:23:30 -0700 Subject: [PATCH] Tweak spacing for horizontal preferences. - Add minHeight to horizontal preference so they are not clustered together. - Wrap app_data_usage's into different categories so they don't rely on SpacePreference to draw space and dividers. Change-Id: Ieed90a39d48494d1207680483968b5733bdfb344 Fix: 37750568 Test: visual (cherry picked from commit 9c93c28b5a9e3d1ff78b7ee4febcb39a5f447aeb) --- res/layout/horizontal_preference.xml | 5 ++- res/xml/app_data_usage.xml | 65 +++++++++++++++------------- 2 files changed, 37 insertions(+), 33 deletions(-) diff --git a/res/layout/horizontal_preference.xml b/res/layout/horizontal_preference.xml index b5871d95154..9358cff21b6 100644 --- a/res/layout/horizontal_preference.xml +++ b/res/layout/horizontal_preference.xml @@ -16,11 +16,12 @@ --> - diff --git a/res/xml/app_data_usage.xml b/res/xml/app_data_usage.xml index 520b93b9d4e..26a339a1921 100644 --- a/res/xml/app_data_usage.xml +++ b/res/xml/app_data_usage.xml @@ -15,48 +15,51 @@ --> + android:title="@string/data_usage_summary_title"> - + - + - + - + - + - + + - + - + + +