mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-17 23:15:10 -05:00
On the initial welcome page, don't scroll the 'next' button off the
page.
This commit is contained in:
parent
4a2c94938a
commit
a377c18826
@ -1,19 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<FrameLayout
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="vertical"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent">
|
||||||
android:layout_height="fill_parent">
|
|
||||||
<ListView
|
<ListView
|
||||||
android:id="@android:id/list"
|
android:id="@android:id/list"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
/>
|
/>
|
||||||
<ScrollView
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_marginBottom="50dip"
|
||||||
android:layout_width="fill_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="fill_parent"
|
android:layout_width="fill_parent">
|
||||||
android:scrollbarStyle="outsideInset">
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/empty"
|
android:id="@+id/empty"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
@ -25,27 +23,27 @@
|
|||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:text="@string/accounts_welcome"
|
android:text="@string/accounts_welcome"
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
android:padding="8dip"
|
android:padding="8dip"/>
|
||||||
/>
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="0dip"
|
android:layout_height="0dip"
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1" />
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="54dip"
|
|
||||||
android:gravity="bottom|right"
|
|
||||||
>
|
|
||||||
<Button
|
|
||||||
android:id="@+id/add_new_account"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:minWidth="@dimen/button_minWidth"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/next_action"
|
|
||||||
android:drawableRight="@drawable/button_indicator_next"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_centerVertical="true" />
|
|
||||||
</RelativeLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</FrameLayout>
|
<RelativeLayout
|
||||||
|
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"
|
||||||
|
android:minWidth="@dimen/button_minWidth"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/next_action"
|
||||||
|
android:drawableRight="@drawable/button_indicator_next"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_centerVertical="false"
|
||||||
|
/>
|
||||||
|
</RelativeLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user