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