aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/enter_jid_dialog.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-08 20:18:50 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-08 20:18:50 +0200
commit8886fade18b64d128aaa4b4bc0600f6afe964bd2 (patch)
treeb7a2951232c2137d0222b7892b70adcaef741b6e /src/main/res/layout/enter_jid_dialog.xml
parenteb773489d6c08ca336095688a8deda039c09c080 (diff)
add data binding and check in back stack for dialogs
Diffstat (limited to 'src/main/res/layout/enter_jid_dialog.xml')
-rw-r--r--src/main/res/layout/enter_jid_dialog.xml65
1 files changed, 34 insertions, 31 deletions
diff --git a/src/main/res/layout/enter_jid_dialog.xml b/src/main/res/layout/enter_jid_dialog.xml
index a5d8f4a96..dff8f3459 100644
--- a/src/main/res/layout/enter_jid_dialog.xml
+++ b/src/main/res/layout/enter_jid_dialog.xml
@@ -1,38 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingBottom="?attr/dialog_vertical_padding"
- android:paddingLeft="?attr/dialog_horizontal_padding"
- android:paddingRight="?attr/dialog_horizontal_padding"
- android:paddingTop="?attr/dialog_vertical_padding">
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
- <TextView
- android:id="@+id/your_account"
- style="@style/InputLabel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/your_account"
- android:visibility="gone" />
-
- <Spinner
- android:id="@+id/account"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:visibility="gone" />
-
- <android.support.design.widget.TextInputLayout
- android:id="@+id/account_jid_layout"
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/account_settings_jabber_id">
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:paddingBottom="?attr/dialog_vertical_padding"
+ android:paddingLeft="?attr/dialog_horizontal_padding"
+ android:paddingRight="?attr/dialog_horizontal_padding"
+ android:paddingTop="?attr/dialog_vertical_padding">
+
+ <TextView
+ android:id="@+id/your_account"
+ style="@style/InputLabel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/your_account"
+ android:visibility="gone" />
- <AutoCompleteTextView
- android:id="@+id/jid"
+ <Spinner
+ android:id="@+id/account"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:inputType="textEmailAddress" />
- </android.support.design.widget.TextInputLayout>
+ android:visibility="gone" />
+
+ <android.support.design.widget.TextInputLayout
+ android:id="@+id/account_jid_layout"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/account_settings_jabber_id">
+
+ <AutoCompleteTextView
+ android:id="@+id/jid"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textEmailAddress" />
+ </android.support.design.widget.TextInputLayout>
-</LinearLayout> \ No newline at end of file
+ </LinearLayout>
+</layout> \ No newline at end of file