From 601aad2022311f88c290e8fc9d426ce76f1bd1b3 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Wed, 11 Jun 2014 15:00:12 -0700 Subject: [PATCH] Fix bug #15384992 Setting Dashboard - padding updates - make padding start / end to "0dip" for Preferences ListView - update also Battery History Chart padding to be compatible with other layouts See bug: #15384992 Setting Dashboard - padding updates Change-Id: I1faae1186322965d7077e92418a507720bab75cf --- res/layout/battery_history_chart.xml | 45 ++++++++++++++---------- res/layout/preference_batteryhistory.xml | 6 ++-- res/values/dimens.xml | 2 +- 3 files changed, 30 insertions(+), 23 deletions(-) diff --git a/res/layout/battery_history_chart.xml b/res/layout/battery_history_chart.xml index 0d3e185eea1..48eb7ed37de 100644 --- a/res/layout/battery_history_chart.xml +++ b/res/layout/battery_history_chart.xml @@ -14,22 +14,29 @@ limitations under the License. --> - - + + + + + + \ No newline at end of file diff --git a/res/layout/preference_batteryhistory.xml b/res/layout/preference_batteryhistory.xml index 766ec51c8c9..723b0e1b01a 100644 --- a/res/layout/preference_batteryhistory.xml +++ b/res/layout/preference_batteryhistory.xml @@ -18,11 +18,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:minHeight="@dimen/battery_history_chart_height" - android:paddingEnd="?android:attr/scrollbarSize"> + android:minHeight="@dimen/battery_history_chart_height"> 200dp - @*android:dimen/preference_fragment_padding_side + 0dip 4