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-10 22:03:23 +0100
commitdc98b3dbd5ce9da547fd62ffeaf98650f5586fd5 (patch)
treedaf019950a6e99b5f3fba32ec9a289e881dc063a /src/main/res/layout/activity_verify_otr.xml
parent8740b55d37ce62e686afbf5d302fb49498ab6ab7 (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"