From 1f320fa346da8beee32d1b4f9b1931d3362108ef Mon Sep 17 00:00:00 2001 From: Yi-Ling Chuang Date: Fri, 4 Jan 2019 15:43:58 +0800 Subject: [PATCH] Centerize contents of contextual cards and remove white space. Decrease the minHeight of the two buttons in the dismissal view and have the contents centered. Change-Id: I806e8ccae88e693dc222a13940597fd33684ee70 Fixes: 120086509 Test: visual --- res/layout/homepage_dismissal_view.xml | 2 ++ res/layout/homepage_slice_tile.xml | 1 + res/values/dimens.xml | 1 + res/values/styles.xml | 1 + 4 files changed, 5 insertions(+) diff --git a/res/layout/homepage_dismissal_view.xml b/res/layout/homepage_dismissal_view.xml index e60b37510eb..e31d436715f 100644 --- a/res/layout/homepage_dismissal_view.xml +++ b/res/layout/homepage_dismissal_view.xml @@ -40,6 +40,7 @@ style="@style/ContextualCardDismissalButton" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginBottom="@dimen/homepage_card_dismissal_margin_bottom" android:text="@string/contextual_card_dismiss_keep"/>