diff --git a/briar-android/res/layout/fragment_keyagreement_id.xml b/briar-android/res/layout/fragment_keyagreement_id.xml index 73364e5c0..61041ef2f 100644 --- a/briar-android/res/layout/fragment_keyagreement_id.xml +++ b/briar-android/res/layout/fragment_keyagreement_id.xml @@ -21,7 +21,6 @@ android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/margin_xlarge" android:adjustViewBounds="true" android:scaleType="fitCenter" android:src="@drawable/qr_code_intro" @@ -42,7 +41,8 @@ android:layout_height="wrap_content" android:adjustViewBounds="true" android:padding="@dimen/margin_medium" - android:src="@drawable/qr_code_explanation"/> + android:src="@drawable/qr_code_explanation" + android:contentDescription="@string/face_to_face"/> + android:layout_height="wrap_content"/> - + android:layout_gravity="center"/> - + android:scaleType="fitCenter" + android:layout_gravity="center"/> + + android:layout_above="@+id/title_progress_bar" + android:layout_centerHorizontal="true"/> + tools:text="@string/waiting_for_contact_to_scan"/> diff --git a/briar-android/res/values/strings.xml b/briar-android/res/values/strings.xml index 73046ee63..d1c7834ab 100644 --- a/briar-android/res/values/strings.xml +++ b/briar-android/res/values/strings.xml @@ -90,7 +90,7 @@ Add a Contact Choose the identity you want to use: - You must be face-to-face with the person you want to add as a contact. This will prevent anyone from impersonating you or reading your messages in future. + You must meet up with the person you want to add as a contact.\n\nThis will prevent anyone from impersonating you or reading your messages in future. Continue Your invitation code is Please enter your contact\'s invitation code: @@ -104,6 +104,7 @@ Your confirmation code is Please enter your contact\'s confirmation code: Waiting for contact\u2026 + Waiting for contact to scan and connect\u2026 Exchanging contact details\u2026 Codes do not match This could mean that someone is trying to interfere with your connection diff --git a/briar-android/src/org/briarproject/android/keyagreement/ShowQrCodeFragment.java b/briar-android/src/org/briarproject/android/keyagreement/ShowQrCodeFragment.java index fc5d286b0..0f4704ca9 100644 --- a/briar-android/src/org/briarproject/android/keyagreement/ShowQrCodeFragment.java +++ b/briar-android/src/org/briarproject/android/keyagreement/ShowQrCodeFragment.java @@ -337,7 +337,7 @@ public class ShowQrCodeFragment extends BaseEventFragment listener.runOnUiThreadUnlessDestroyed(new Runnable() { @Override public void run() { - status.setText(R.string.waiting_for_contact); + status.setText(R.string.waiting_for_contact_to_scan); } }); }