1<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:tools="http://schemas.android.com/tools"
3 android:layout_width="match_parent"
4 android:layout_height="match_parent"
5 android:background="#e5e5e5" >
6
7 <EditText
8 android:id="@+id/new_conversation_search"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content"
11 android:layout_alignParentLeft="true"
12 android:layout_alignParentRight="true"
13 android:layout_alignParentTop="true"
14 android:background="#eee"
15 android:ems="10"
16 android:hint="Search or enter Jabber ID"
17 android:inputType="textEmailAddress"
18 android:paddingBottom="12dp"
19 android:paddingLeft="8dp"
20 android:paddingRight="8dp"
21 android:paddingTop="12dp" />
22
23 <TextView
24 android:id="@+id/contacts_header"
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
27 android:text="Contacts"
28 style="@style/sectionHeader"
29 android:layout_below="@+id/new_conversation_search"
30 android:paddingLeft="8dp"
31 android:paddingTop="8dp"
32 android:paddingRight="8dp"/>
33
34 <ListView
35 android:id="@+id/contactList"
36 android:layout_width="fill_parent"
37 android:layout_height="fill_parent"
38 android:layout_alignParentBottom="true"
39 android:layout_alignParentLeft="true"
40 android:layout_alignParentRight="true"
41 android:layout_below="@+id/contacts_header"
42 tools:listitem="@layout/contact" >
43
44 </ListView>
45
46</RelativeLayout>