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:padding="8dp" >
 7
 8    <TextView
 9        android:id="@+id/your_account"
10        android:layout_width="wrap_content"
11        android:layout_height="wrap_content"
12        android:text="@string/your_account"
13        android:textColor="@color/black87"
14        android:textSize="?attr/TextSizeBody" />
15
16    <Spinner
17        android:id="@+id/account"
18        android:layout_width="fill_parent"
19        android:layout_height="wrap_content" />
20
21    <TextView
22        android:id="@+id/jabber_id"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        android:layout_marginTop="8dp"
26        android:text="@string/account_settings_jabber_id"
27        android:textColor="@color/black87"
28        android:textSize="?attr/TextSizeBody" />
29
30    <AutoCompleteTextView
31        android:id="@+id/jid"
32        android:layout_width="fill_parent"
33        android:layout_height="wrap_content"
34        android:hint="@string/account_settings_example_jabber_id"
35        android:inputType="textEmailAddress"
36        android:textColor="@color/black87"
37        android:textColorHint="@color/black54" />
38
39</LinearLayout>