aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/activity_verify_otr.xml
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-11-10 22:03:23 +0100
committeriNPUTmice <daniel@gultsch.de>2014-11-11 17:40:51 +0100
commite33fc26cbe4f60b78cd57e9d4ceff7b3f6e3a6a0 (patch)
tree4e7e0d622d3ac6ea1d59921a5024e4e1b19d8cc8 /src/main/res/layout/activity_verify_otr.xml
parent6cd2ff0d886b03079036570c74ecb70050b1de2d (diff)
added snackbar to indicate smp. more error handling in verify activity
Diffstat (limited to 'src/main/res/layout/activity_verify_otr.xml')
-rw-r--r--src/main/res/layout/activity_verify_otr.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_verify_otr.xml b/src/main/res/layout/activity_verify_otr.xml
index 60047333..d907d871 100644
--- a/src/main/res/layout/activity_verify_otr.xml
+++ b/src/main/res/layout/activity_verify_otr.xml
@@ -8,7 +8,18 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
+ <TextView
+ android:id="@+id/error_no_session"
+ android:layout_margin="16dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/no_otr_session_found"
+ android:layout_gravity="center_horizontal"
+ android:textColor="@color/primarytext"
+ android:textSize="?attr/TextSizeBody"
+ />
<RelativeLayout
+ android:id="@+id/verification_area_one"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/infocard_border"
@@ -90,6 +101,7 @@
</LinearLayout>
</RelativeLayout>
<RelativeLayout
+ android:id="@+id/verification_area_two"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"