[SetupWizardLib] Draw progress bar on top

For tablet layouts (phone layouts doesn't have this problem), move
the progress bar element after the content, so that it's drawn in
front of the content instead of behind it.

Bug: 20559875
Change-Id: Ib71c72dae5438d0b739c5626c31cc5d851688b25
This commit is contained in:
Maurice Lam 2015-04-27 15:58:39 -07:00
parent 7114577a09
commit a72d7e27d6
5 changed files with 10 additions and 10 deletions

View file

@ -49,13 +49,13 @@
android:elevation="@dimen/suw_card_elevation"
tools:ignore="UnusedAttribute">
<include layout="@layout/suw_progress_bar_stub" />
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include layout="@layout/suw_progress_bar_stub" />
</FrameLayout>
</LinearLayout>

View file

@ -50,13 +50,13 @@
android:elevation="@dimen/suw_card_elevation"
tools:ignore="UnusedAttribute">
<include layout="@layout/suw_progress_bar_stub" />
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include layout="@layout/suw_progress_bar_stub" />
</FrameLayout>
</LinearLayout>

View file

@ -52,13 +52,13 @@
android:elevation="@dimen/suw_card_elevation"
tools:ignore="UnusedAttribute">
<include layout="@layout/suw_progress_bar_stub" />
<FrameLayout
android:id="@+id/suw_layout_content"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<include layout="@layout/suw_progress_bar_stub" />
</FrameLayout>
</LinearLayout>

View file

@ -49,8 +49,6 @@
android:elevation="@dimen/suw_card_elevation"
tools:ignore="UnusedAttribute">
<include layout="@layout/suw_progress_bar_stub" />
<com.android.setupwizardlib.view.BottomScrollView
android:id="@+id/suw_bottom_scroll_view"
android:layout_width="match_parent"
@ -65,6 +63,8 @@
</com.android.setupwizardlib.view.BottomScrollView>
<include layout="@layout/suw_progress_bar_stub" />
</FrameLayout>
</LinearLayout>

View file

@ -50,8 +50,6 @@
android:elevation="@dimen/suw_card_elevation"
tools:ignore="UnusedAttribute">
<include layout="@layout/suw_progress_bar_stub" />
<com.android.setupwizardlib.view.BottomScrollView
android:id="@+id/suw_bottom_scroll_view"
android:layout_width="match_parent"
@ -65,6 +63,8 @@
</com.android.setupwizardlib.view.BottomScrollView>
<include layout="@layout/suw_progress_bar_stub" />
</FrameLayout>
</LinearLayout>