aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/activity_new_conversation.xml
blob: a2b00af122287d3c5be5e4aa9e18ca343c98919a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#e5e5e5" >

    
    <ProgressBar
        android:id="@+id/progressBar1"
        style="?android:attr/progressBarStyleLarge"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:visibility="gone"
       />
    
    <EditText
        android:id="@+id/new_conversation_search"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:background="#eee"
        android:ems="10"
        android:hint="Search or enter Jabber ID"
        android:inputType="textEmailAddress"
        android:paddingBottom="12dp"
        android:paddingLeft="8dp"
        android:paddingRight="8dp"
        android:paddingTop="12dp" />
    
    <TextView
                android:id="@+id/contacts_header"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Contacts"
                style="@style/sectionHeader"
                android:layout_below="@+id/new_conversation_search"
                android:paddingLeft="8dp"
                android:paddingTop="8dp"
                android:paddingRight="8dp"/>

    <ListView
        android:id="@+id/contactList"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_below="@+id/contacts_header"
        tools:listitem="@layout/contact"
        android:choiceMode="multipleChoice">

    </ListView>
</RelativeLayout>