From 1c15a27c1dbab59bfe4fee9d9b56067dec882526 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Tue, 29 Jan 2019 16:33:53 -0800 Subject: [PATCH] Remove cardview wrapper on condition collapse button. The cardview is adding a strange background color in dark mode Change-Id: Id205fbd5209e15597157d86d225f8c6c97a2ec5a Fixes: 123411225 Test: visual --- res/layout/homepage_condition_footer.xml | 32 ++++++++++-------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/res/layout/homepage_condition_footer.xml b/res/layout/homepage_condition_footer.xml index 0ff7ac61231..56687fe4b04 100644 --- a/res/layout/homepage_condition_footer.xml +++ b/res/layout/homepage_condition_footer.xml @@ -15,26 +15,20 @@ limitations under the License. --> - + android:layout_height="@dimen/homepage_condition_footer_height" + android:contentDescription="@string/homepage_condition_footer_content_description" + android:gravity="end" + android:orientation="horizontal" + android:paddingTop="@dimen/homepage_condition_footer_padding_top" + android:paddingEnd="@dimen/homepage_condition_footer_padding_end"> - + - - - - \ No newline at end of file + \ No newline at end of file