1<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 android:background="#e5e5e5">
7
8 <RelativeLayout
9 android:background="#eee"
10 android:id="@+id/textsend"
11 android:layout_width="fill_parent"
12 android:layout_height="wrap_content"
13 android:layout_alignParentBottom="true"
14 android:layout_alignParentLeft="true">
15
16 <EditText
17 android:id="@+id/textinput"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content"
20 android:minHeight="48dp"
21 android:layout_alignParentLeft="true"
22 android:paddingBottom="12dp"
23 android:paddingLeft="8dp"
24 android:paddingRight="8dp"
25 android:paddingTop="12dp"
26 android:layout_toLeftOf="@+id/textSendButton"
27 android:background="#eee"
28 android:ems="10"
29 android:inputType="textShortMessage|textMultiLine|textCapSentences"
30 android:minLines="1" >
31 <requestFocus />
32 </EditText>
33
34 <ImageButton
35 android:id="@+id/textSendButton"
36 android:layout_width="48dp"
37 android:layout_height="48dp"
38 android:layout_alignParentRight="true"
39 android:layout_centerVertical="true"
40 android:background="?android:selectableItemBackground"
41 android:src="@drawable/ic_action_send_now" />
42 </RelativeLayout>
43
44 <ListView
45 android:id="@+id/messages_view"
46 android:layout_width="fill_parent"
47 android:layout_height="wrap_content"
48 android:layout_above="@+id/textsend"
49 android:layout_alignParentLeft="true"
50 android:layout_below="@+id/info_box"
51 android:background="#e5e5e5"
52 android:divider="@null"
53 android:dividerHeight="0dp"
54 android:listSelector="@android:color/transparent"
55 android:transcriptMode="alwaysScroll"
56 tools:listitem="@layout/message_sent"
57 android:stackFromBottom="true">
58
59 </ListView>
60 <LinearLayout
61 android:id="@+id/info_box"
62 android:layout_height="wrap_content"
63 android:layout_width="fill_parent"
64 android:orientation="vertical"
65 >
66
67 <LinearLayout
68 android:id="@+id/muc_error"
69 android:layout_width="fill_parent"
70 android:layout_height="wrap_content"
71 android:background="@drawable/redbackground"
72 android:orientation="vertical"
73 android:visibility="gone"
74 >
75
76 <TextView
77 android:id="@+id/muc_error_msg"
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:textColor="#eee"
81 android:textStyle="bold"
82 android:padding="8dp"
83 android:textSize="20sp"/>
84 <TextView
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:text="Click to edit conference details"
88 android:textColor="#eee"
89 android:paddingLeft="8dp"
90 android:paddingBottom="8dp"
91 android:textSize="14sp"/>
92
93 </LinearLayout>
94
95
96 <LinearLayout
97 android:id="@+id/new_fingerprint"
98 android:layout_width="fill_parent"
99 android:layout_height="wrap_content"
100 android:background="@drawable/redbackground"
101 android:orientation="vertical"
102 android:visibility="gone"
103 >
104
105 <TextView
106 android:layout_width="wrap_content"
107 android:layout_height="wrap_content"
108 android:text="Unknown OTR Fingerprint"
109 android:textColor="#eee"
110 android:textStyle="bold"
111 android:padding="8dp"
112 android:textSize="20sp"/>
113 <TextView
114 android:layout_width="wrap_content"
115 android:layout_height="wrap_content"
116 android:id="@+id/otr_fingerprint"
117 android:textColor="#eee"
118 android:paddingLeft="8dp"
119 android:paddingBottom="8dp"
120 android:textSize="14sp"
121 android:typeface="monospace"/>
122
123 </LinearLayout>
124 <LinearLayout
125 android:id="@+id/pgp_keyentry"
126 android:layout_width="fill_parent"
127 android:layout_height="wrap_content"
128 android:background="@drawable/bluebackground"
129 android:orientation="vertical"
130 android:visibility="gone"
131 >
132
133 <TextView
134 android:layout_width="wrap_content"
135 android:layout_height="wrap_content"
136 android:text="OpenPGP encrypted messages found"
137 android:textColor="#eee"
138 android:textStyle="bold"
139 android:padding="8dp"
140 android:textSize="20sp"/>
141 <TextView
142 android:layout_width="wrap_content"
143 android:layout_height="wrap_content"
144 android:textColor="#eee"
145 android:text="Click here to enter passphrase and decrypt messages"
146 android:paddingLeft="8dp"
147 android:paddingBottom="8dp"
148 android:textSize="14sp"/>
149
150 </LinearLayout>
151 </LinearLayout>
152</RelativeLayout>