diff options
Diffstat (limited to 'library/main')
-rw-r--r-- | library/main/res/layout/suw_no_scroll_template_header.xml | 3 | ||||
-rw-r--r-- | library/main/res/layout/suw_template_header.xml | 23 |
2 files changed, 13 insertions, 13 deletions
diff --git a/library/main/res/layout/suw_no_scroll_template_header.xml b/library/main/res/layout/suw_no_scroll_template_header.xml index 7bdb34c..bdd64e3 100644 --- a/library/main/res/layout/suw_no_scroll_template_header.xml +++ b/library/main/res/layout/suw_no_scroll_template_header.xml @@ -57,7 +57,8 @@ <FrameLayout android:id="@+id/suw_layout_content" android:layout_width="match_parent" - android:layout_height="wrap_content" /> + android:layout_height="0dp" + android:layout_weight="1" /> </LinearLayout> diff --git a/library/main/res/layout/suw_template_header.xml b/library/main/res/layout/suw_template_header.xml index ea37163..e130728 100644 --- a/library/main/res/layout/suw_template_header.xml +++ b/library/main/res/layout/suw_template_header.xml @@ -29,16 +29,21 @@ android:layout_height="0dp" android:fillViewport="true"> - <LinearLayout + <RelativeLayout android:layout_width="match_parent" - android:layout_height="wrap_content" - android:clipChildren="false" - android:orientation="vertical"> + android:layout_height="match_parent" + android:clipChildren="false"> + + <FrameLayout + android:id="@+id/suw_layout_content" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_below="@+id/suw_layout_header" /> <LinearLayout + android:id="@+id/suw_layout_header" android:layout_width="match_parent" android:layout_height="wrap_content" - android:clipChildren="false" android:orientation="vertical" android:tag="stickyContainer"> @@ -65,13 +70,7 @@ </LinearLayout> - <FrameLayout - android:id="@+id/suw_layout_content" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:clipChildren="false" /> - - </LinearLayout> + </RelativeLayout> </com.android.setupwizardlib.view.StickyHeaderScrollView> |