From b76de1d4fabf8381d73df22439e6fac839bd33e7 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Fri, 6 Jun 2014 12:21:45 -0700 Subject: [PATCH] Tune Dashboard layouts following UX spec - part 3 - remove this ugly 12dp at the bottom of the Dashboard and use 1dp instead See bug: #15384992 Setting Dashboard - padding updates Change-Id: I07695b2084a389552fb8a0e89663304c0c29cf58 --- res/layout/dashboard.xml | 2 +- res/values/dimens.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/res/layout/dashboard.xml b/res/layout/dashboard.xml index 3c6e096c0db..7917c969260 100644 --- a/res/layout/dashboard.xml +++ b/res/layout/dashboard.xml @@ -20,6 +20,7 @@ android:layout_height="match_parent" android:paddingStart="@dimen/dashboard_padding_start" android:paddingEnd="@dimen/dashboard_padding_end" + android:paddingBottom="@dimen/dashboard_padding_bottom" android:scrollbarStyle="outsideOverlay" android:background="@color/dashboard_background_color"> @@ -27,7 +28,6 @@ android:id="@+id/dashboard_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingBottom="12dp" android:layout_gravity="center_horizontal" android:orientation="vertical" /> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index f1764fb6cb9..b65618266d9 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -99,6 +99,7 @@ 1dp 1dp + 1dp 48dp