diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-01-04 17:27:51 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-01-04 17:27:54 +0100 |
commit | 501034fe0eb267f5100f4dd799fb1454fe7ba1a4 (patch) | |
tree | f3a676567c49f99e6bb103095951cdcae1f686d4 /src/main/res/layout/enter_jid_dialog.xml | |
parent | fdb6b0e30d7cc5a90e4bad181ddc89acf4a2e4fa (diff) |
Allow entering a JID from 'choose contact'. thanks @singpolyma
fixes #1611
fixes #1602
Diffstat (limited to 'src/main/res/layout/enter_jid_dialog.xml')
-rw-r--r-- | src/main/res/layout/enter_jid_dialog.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/main/res/layout/enter_jid_dialog.xml b/src/main/res/layout/enter_jid_dialog.xml new file mode 100644 index 00000000..6333e340 --- /dev/null +++ b/src/main/res/layout/enter_jid_dialog.xml @@ -0,0 +1,39 @@ +<?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:padding="8dp" > + + <TextView + android:id="@+id/your_account" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/your_account" + android:textColor="@color/black87" + android:textSize="?attr/TextSizeBody" /> + + <Spinner + android:id="@+id/account" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <TextView + android:id="@+id/jabber_id" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:text="@string/account_settings_jabber_id" + android:textColor="@color/black87" + android:textSize="?attr/TextSizeBody" /> + + <AutoCompleteTextView + android:id="@+id/jid" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:hint="@string/account_settings_example_jabber_id" + android:inputType="textEmailAddress" + android:textColor="@color/black87" + android:textColorHint="@color/black54" /> + +</LinearLayout>
\ No newline at end of file |