From 101c1d09e1b2dc72038900775a11b46f34b63abd Mon Sep 17 00:00:00 2001 From: Sundeep Ghuman Date: Mon, 12 Mar 2018 20:28:09 -0700 Subject: [PATCH] Fix new DataUsageSummary page line spacing. There are still some unspecified items pending UX. Have left comments on ag/3702541 to avoid regressions. Bug: 70950124 Test: UI change only, no code to test. Change-Id: I7fa96134af750d71786d031652162aed6bffbeb5 --- res/layout/data_usage_summary_preference.xml | 25 ++++++++------------ 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/res/layout/data_usage_summary_preference.xml b/res/layout/data_usage_summary_preference.xml index 445e7cdd468..c2cb8413b9d 100644 --- a/res/layout/data_usage_summary_preference.xml +++ b/res/layout/data_usage_summary_preference.xml @@ -18,6 +18,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" + android:paddingTop="24dp" + android:paddingBottom="32dp" android:paddingStart="@dimen/preference_no_icon_padding_start" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:orientation="vertical" @@ -31,26 +33,18 @@ android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceListItemSecondary" android:textColor="?android:attr/textColorSecondary" - android:paddingBottom="5dp" android:text="@string/data_usage_title" /> - - + android:layout_height="wrap_content" /> + android:layout_height="wrap_content" />