1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

make the "outgoing account settings" 'next' button not scroll off the page

This commit is contained in:
Jesse Vincent 2009-11-14 00:28:03 +00:00
parent e7d708af44
commit f6b59512fe

View File

@ -1,9 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="54dip"
android:padding="6dip"
android:scrollbarStyle="outsideInset">
<LinearLayout
@ -81,19 +86,21 @@
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1" />
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="54dip"
>
<Button
android:id="@+id/next"
android:text="@string/next_action"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:minWidth="@dimen/button_minWidth"
android:drawableRight="@drawable/button_indicator_next"
android:layout_alignParentRight="true"
android:layout_centerVertical="true" />
</RelativeLayout>
</LinearLayout>
</ScrollView>
</ScrollView>
<RelativeLayout
android:layout_marginTop="-54dip"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
<Button
android:id="@+id/next"
android:text="@string/next_action"
android:layout_width="wrap_content"
android:minWidth="@dimen/button_minWidth"
android:layout_height="wrap_content"
android:drawableRight="@drawable/button_indicator_next"
android:layout_alignParentRight="true"
android:layout_centerVertical="false" />
</RelativeLayout>
</LinearLayout>