[SuwLib] Force list header shadow to be drawn on top

Bug: 27974183
Change-Id: Ibc1b2251e6a444723b55c32b929d3846bcafbdc7
This commit is contained in:
Maurice Lam 2016-04-02 15:49:00 -07:00
parent e1798444aa
commit c1d426c953
2 changed files with 5 additions and 1 deletions

View file

@ -21,7 +21,9 @@
android:layout_height="wrap_content"
android:clipToPadding="false"
android:orientation="vertical"
android:tag="stickyContainer">
android:elevation="@dimen/suw_header_elevation_hack"
android:tag="stickyContainer"
tools:ignore="UnusedAttribute">
<com.android.setupwizardlib.view.Illustration
android:id="@+id/suw_layout_decor"

View file

@ -69,6 +69,8 @@
<!-- Header layout (for phones) -->
<dimen name="suw_title_area_elevation">3dp</dimen>
<!-- Hack to force the header (and its shadow) to be drawn on top of the list contents -->
<dimen name="suw_header_elevation_hack">1dp</dimen>
<dimen name="suw_header_title_size">24sp</dimen>
<dimen name="suw_header_title_margin_bottom">16dp</dimen>