1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-13 13:05:03 -05:00
k-9/res/layout/alert_dialog_text_entry.xml

75 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="10dp" >
<TextView
android:id="@+id/error_msg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp" />
<TextView
android:id="@+id/form_label_email"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:text="@string/account_setup_incoming_username_label" />
<EditText
android:id="@+id/error_dialog_username_field"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:singleLine="true" />
<TextView
android:id="@+id/form_label_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:text="@string/account_setup_basics_password_hint" />
<EditText
android:id="@+id/error_dialog_password_field"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:nextFocusDown="@+id/next"
android:password="true"
android:singleLine="true" />
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="horizontal" >
<Button
android:id="@+id/error_dialog_quit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:drawableLeft="@drawable/button_indicator_prev"
android:text="@string/previous_action"
android:layout_marginRight="20dp" />
<Button
android:id="@+id/error_dialog_ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:drawableRight="@drawable/button_indicator_next"
android:text="@string/next_action" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>