mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-14 22:20:12 -05:00
Centered next buttons in dialogs.
This commit is contained in:
parent
7e4b4c4bc7
commit
7914a14a66
@ -39,10 +39,16 @@
|
|||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:text="@string/account_setup_basics_manual_setup_action"/>
|
android:text="@string/account_setup_basics_manual_setup_action"/>
|
||||||
|
|
||||||
<Button android:id="@+id/account_dialog_next"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:text="@string/next_action"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="wrap_content"
|
android:layout_marginTop="10dp">
|
||||||
android:drawableRight="@drawable/button_indicator_next"/>
|
<Button android:id="@+id/account_dialog_next"
|
||||||
|
android:text="@string/next_action"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:drawableRight="@drawable/button_indicator_next" />
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="10dp">
|
android:padding="10dp">
|
||||||
|
|
||||||
<TextView android:id="@+id/account_dialog_password_help"
|
<TextView android:id="@+id/account_dialog_password_help"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -25,14 +25,16 @@
|
|||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:text="@string/account_setup_basics_manual_setup_action"/>
|
android:text="@string/account_setup_basics_manual_setup_action"/>
|
||||||
|
|
||||||
<Button android:id="@+id/account_dialog_next"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:text="@string/next_action"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="wrap_content"
|
android:layout_marginTop="10dp">
|
||||||
android:drawableRight="@drawable/button_indicator_next" />
|
<Button android:id="@+id/account_dialog_next"
|
||||||
<!-- android:layout_marginBottom="-4dip"
|
android:text="@string/next_action"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_height="wrap_content"
|
||||||
android:layout_centerVertical="false"-->
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:drawableRight="@drawable/button_indicator_next" />
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
Reference in New Issue
Block a user