diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/dialog_verify_otr.xml | 53 | ||||
-rw-r--r-- | res/layout/fragment_conversation.xml | 30 |
2 files changed, 83 insertions, 0 deletions
diff --git a/res/layout/dialog_verify_otr.xml b/res/layout/dialog_verify_otr.xml new file mode 100644 index 00000000..9f389c73 --- /dev/null +++ b/res/layout/dialog_verify_otr.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingLeft="8dp"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="8dp" + android:text="Jabber ID" + android:textColor="#33B5E5" + android:textSize="20sp"/> + + <TextView + android:id="@+id/verify_otr_jid" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="8dp" + android:text="julia@jabber.example.com" + android:textSize="14sp" /> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="8dp" + android:text="OTR fingerprint" + android:textColor="#33B5E5" + android:textSize="20sp"/> + + <TextView + android:id="@+id/verify_otr_fingerprint" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="8dp" + android:text="2674D6A0 0B1421B1 BFC42AEC C56F3719 672437D8" + android:textSize="14sp" /> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="8dp" + android:text="Your fingerprint" + android:textColor="#33B5E5" + android:textSize="20sp"/> + + <TextView + android:id="@+id/verify_otr_yourprint" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="8dp" + android:text="2674D6A0 0B1421B1 BFC42AEC C56F3719 672437D8" + android:textSize="14sp" /> +</LinearLayout> diff --git a/res/layout/fragment_conversation.xml b/res/layout/fragment_conversation.xml index 3b965af2..5db68748 100644 --- a/res/layout/fragment_conversation.xml +++ b/res/layout/fragment_conversation.xml @@ -53,5 +53,35 @@ android:transcriptMode="alwaysScroll" android:listSelector="@android:color/transparent"> </ListView> + <LinearLayout + android:id="@+id/new_fingerprint" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignTop="@+id/messages_view" + android:background="#cc0000" + android:orientation="vertical" + android:visibility="gone" + > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Unknown OTR Fingerprint" + android:textColor="#eee" + android:textStyle="bold" + android:padding="8dp" + android:textSize="20sp"/> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/otr_fingerprint" + android:textColor="#eee" + android:text="2674D6A0 0B1421B1 BFC42AEC C56F3719 672437D8" + android:paddingLeft="8dp" + android:paddingBottom="8dp" + android:textSize="14sp"/> + + </LinearLayout> </RelativeLayout>
\ No newline at end of file |