From 965db30b5baa77d6d33b0d468050e20e692d3f47 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Mon, 4 May 2015 10:32:34 -0700 Subject: [PATCH] [SetupWizard] Fix shadow for ListView Fix the shadow cast by the illustration for ListViews on phone portrait by not clipping the header view. Bug: 20731843 Change-Id: I4d6cc759191278698609401b0d4a764bd9e3d1a0 --- library/main/res/layout/suw_list_header.xml | 1 + library/main/res/layout/suw_list_template_header.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/library/main/res/layout/suw_list_header.xml b/library/main/res/layout/suw_list_header.xml index 8bbe38a..b0717bc 100644 --- a/library/main/res/layout/suw_list_header.xml +++ b/library/main/res/layout/suw_list_header.xml @@ -19,6 +19,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" + android:clipToPadding="false" android:orientation="vertical" android:tag="stickyContainer"> diff --git a/library/main/res/layout/suw_list_template_header.xml b/library/main/res/layout/suw_list_template_header.xml index 59d75d4..8e10cfa 100644 --- a/library/main/res/layout/suw_list_template_header.xml +++ b/library/main/res/layout/suw_list_template_header.xml @@ -26,6 +26,7 @@ android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" + android:clipChildren="false" app:suwHeader="@layout/suw_list_header" />