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 <RelativeLayout
9 android:layout_width="wrap_content"
10 android:layout_height="72dp"
11 android:padding="0dp">
12
13 <QuickContactBadge
14 android:id="@+id/details_contact_badge"
15 android:layout_width="72dp"
16 android:layout_height="72dp"
17 android:layout_centerVertical="true"
18 android:scaleType="fitXY"/>
19
20 <LinearLayout
21 android:id="@+id/details_jidbox"
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:layout_toRightOf="@+id/details_contact_badge"
25 android:orientation="vertical"
26 android:layout_alignParentTop="true"
27 android:paddingLeft="8dp">
28
29 <TextView
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:text="Jabber ID"
33 android:textColor="#33B5E5"
34 android:textSize="20sp" />
35
36 <TextView
37 android:id="@+id/details_contactjid"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:text="something@jabber.example.com"
41 android:singleLine="true"
42 android:textSize="14sp"
43 android:paddingLeft="8dp"/>
44
45
46 </LinearLayout>
47 <TextView
48 android:id="@+id/details_contactstatus"
49 android:layout_width="fill_parent"
50 android:layout_height="fill_parent"
51 android:text="online"
52 android:textSize="24sp"
53 android:textStyle="bold"
54 android:gravity="center_vertical"
55 android:layout_below="@+id/details_jidbox"
56 android:layout_toRightOf="@id/details_contact_badge"
57 android:paddingLeft="16dp"/>
58 </RelativeLayout>
59
60 <TextView
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:paddingTop="8dp"
64 android:text="Your account"
65 android:textColor="#33B5E5"
66 android:textSize="20sp"/>
67
68 <TextView
69 android:id="@+id/details_account"
70 android:layout_width="wrap_content"
71 android:layout_height="wrap_content"
72 android:paddingLeft="8dp"
73 android:text="julia@jabber.example.com"
74 android:textSize="14sp" />
75
76 <TextView
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
79 android:paddingTop="8dp"
80 android:text="Subscription"
81 android:textColor="#33B5E5"
82 android:textSize="20sp" />
83
84 <CheckBox
85 android:id="@+id/details_send_presence"
86 android:layout_width="wrap_content"
87 android:layout_height="wrap_content"
88 android:text="Send presence updates"
89 android:textSize="14sp" />
90
91 <CheckBox
92 android:id="@+id/details_receive_presence"
93 android:layout_width="wrap_content"
94 android:layout_height="wrap_content"
95 android:text="Receive presence updates"
96 android:textSize="14sp" />
97
98</LinearLayout>