1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

On the initial welcome page, don't scroll the 'next' button off the

page.
This commit is contained in:
Jesse Vincent 2009-11-13 23:42:52 +00:00
parent 4a2c94938a
commit a377c18826

View File

@ -1,19 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbarStyle="outsideInset">
android:layout_marginBottom="50dip"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
<LinearLayout
android:id="@+id/empty"
android:layout_width="fill_parent"
@ -25,17 +23,18 @@
android:textSize="14sp"
android:text="@string/accounts_welcome"
android:textColor="?android:attr/textColorPrimary"
android:padding="8dip"
/>
android:padding="8dip"/>
<View
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1" />
</LinearLayout>
</ScrollView>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="54dip"
android:gravity="bottom|right"
>
android:layout_marginTop="-50dip"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
<Button
android:id="@+id/add_new_account"
android:layout_width="wrap_content"
@ -44,8 +43,7 @@
android:text="@string/next_action"
android:drawableRight="@drawable/button_indicator_next"
android:layout_alignParentRight="true"
android:layout_centerVertical="true" />
android:layout_centerVertical="false"
/>
</RelativeLayout>
</LinearLayout>
</ScrollView>
</FrameLayout>