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="textMultiLine"
30 android:minLines="1" >
31 </EditText>
32
33 <ImageButton
34 android:id="@+id/textSendButton"
35 android:layout_width="48dp"
36 android:layout_height="48dp"
37 android:layout_alignParentRight="true"
38 android:layout_centerVertical="true"
39 android:background="?android:selectableItemBackground"
40 android:src="@drawable/ic_action_send_now" />
41 </RelativeLayout>
42
43 <ListView
44 android:id="@+id/messages_view"
45 android:layout_width="fill_parent"
46 android:layout_height="wrap_content"
47 android:layout_above="@+id/textsend"
48 android:layout_alignParentLeft="true"
49 android:layout_below="@+id/info_box"
50 android:background="#e5e5e5"
51 android:divider="@null"
52 android:dividerHeight="0dp"
53 android:listSelector="@android:color/transparent"
54 android:transcriptMode="alwaysScroll"
55 tools:listitem="@layout/message_sent"
56 android:stackFromBottom="true">
57
58 </ListView>
59 <LinearLayout
60 android:id="@+id/info_box"
61 android:layout_height="wrap_content"
62 android:layout_width="fill_parent"
63 android:orientation="vertical"
64 >
65 <LinearLayout
66 android:id="@+id/new_fingerprint"
67 android:layout_width="fill_parent"
68 android:layout_height="wrap_content"
69 android:background="#e92727"
70 android:orientation="vertical"
71 android:visibility="gone"
72 >
73
74 <TextView
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:text="Unknown OTR Fingerprint"
78 android:textColor="#eee"
79 android:textStyle="bold"
80 android:padding="8dp"
81 android:textSize="20sp"/>
82 <TextView
83 android:layout_width="wrap_content"
84 android:layout_height="wrap_content"
85 android:id="@+id/otr_fingerprint"
86 android:textColor="#eee"
87 android:paddingLeft="8dp"
88 android:paddingBottom="8dp"
89 android:textSize="14sp"
90 android:typeface="monospace"/>
91
92 </LinearLayout>
93 <LinearLayout
94 android:id="@+id/pgp_keyentry"
95 android:layout_width="fill_parent"
96 android:layout_height="wrap_content"
97 android:background="#ffa713"
98 android:orientation="vertical"
99 android:visibility="gone"
100 >
101
102 <TextView
103 android:layout_width="wrap_content"
104 android:layout_height="wrap_content"
105 android:text="OpenPGP encrypted messages found"
106 android:textColor="#000"
107 android:textStyle="bold"
108 android:padding="8dp"
109 android:textSize="20sp"/>
110 <TextView
111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
113 android:textColor="#000"
114 android:text="Click here to enter passphrase and decrypt messages"
115 android:paddingLeft="8dp"
116 android:paddingBottom="8dp"
117 android:textSize="14sp"/>
118
119 </LinearLayout>
120 </LinearLayout>
121</RelativeLayout>