enter_jid_dialog.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3              android:layout_width="match_parent"
 4              android:layout_height="match_parent"
 5              android:orientation="vertical"
 6              android:paddingBottom="?attr/dialog_vertical_padding"
 7              android:paddingLeft="?attr/dialog_horizontal_padding"
 8              android:paddingRight="?attr/dialog_horizontal_padding"
 9              android:paddingTop="?attr/dialog_vertical_padding">
10
11    <TextView
12        style="@style/InputLabel"
13        android:layout_width="wrap_content"
14        android:layout_height="wrap_content"
15        android:text="@string/your_account"/>
16
17    <Spinner
18        android:id="@+id/account"
19        android:layout_width="fill_parent"
20        android:layout_height="wrap_content"/>
21
22    <android.support.design.widget.TextInputLayout
23        android:id="@+id/account_jid_layout"
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        android:hint="@string/account_settings_jabber_id">
27
28        <AutoCompleteTextView
29            android:id="@+id/jid"
30            android:layout_width="fill_parent"
31            android:layout_height="wrap_content"
32            android:inputType="textEmailAddress"/>
33    </android.support.design.widget.TextInputLayout>
34
35</LinearLayout>