From 60a381430e99a3c462b67bbf332fce1e5c89afbe Mon Sep 17 00:00:00 2001 From: str4d Date: Sat, 16 Jul 2016 02:56:34 +0000 Subject: [PATCH] Use full-screen overlay with microcopy instead of dialog to request report --- briar-android/AndroidManifest.xml | 3 +- .../res/layout/activity_dev_report.xml | 283 +++++++++++------- briar-android/res/values/strings.xml | 7 +- .../android/report/DevReportActivity.java | 60 ++-- 4 files changed, 215 insertions(+), 138 deletions(-) diff --git a/briar-android/AndroidManifest.xml b/briar-android/AndroidManifest.xml index 7c7be67cc..0c7292f51 100644 --- a/briar-android/AndroidManifest.xml +++ b/briar-android/AndroidManifest.xml @@ -52,7 +52,8 @@ android:label="@string/crash_report_title" android:launchMode="singleInstance" android:process=":briar_error_handler" - android:theme="@style/BriarThemeNoActionBar.Default"> + android:theme="@style/BriarThemeNoActionBar.Default" + android:windowSoftInputMode="stateHidden"> - + android:layout_height="match_parent"> - + android:layout_height="match_parent" + android:orientation="vertical" + tools:context=".android.report.DevReportActivity"> - - - + android:layout_height="wrap_content"/> - - - + + android:orientation="vertical" + android:paddingTop="@dimen/margin_medium"> - - - - - - - - - - - + android:layout_marginEnd="@dimen/margin_large" + android:layout_marginLeft="@dimen/margin_large" + android:layout_marginRight="@dimen/margin_large" + android:layout_marginStart="@dimen/margin_large" + android:inputType="textMultiLine|textCapSentences" + tools:hint="@string/describe_crash"/> - - + - + + + + + + + + + + + + + + + + + + + + + + + + + android:gravity="center" + android:text="@string/sad_face" + android:textColor="@color/briar_text_primary" + android:textSize="@dimen/text_size_xlarge"/> - - \ No newline at end of file + + + + + + + + + + +