From a99767f3a68f5ce4ca6b7690d857ce97cb408d3a Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Sun, 3 Jan 2016 15:48:44 +1100 Subject: [PATCH] Remove icon, add scroll view to crash report dialog. Scroll view helps with smaller screens. Alert dialog icons are not part of the material design spec so that was removed. --- F-Droid/res/layout/crash_report_dialog.xml | 57 +++++++++++-------- .../fdroid/fdroid/CrashReportActivity.java | 1 - 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/F-Droid/res/layout/crash_report_dialog.xml b/F-Droid/res/layout/crash_report_dialog.xml index 6f40c1c9a..6f0ebddb3 100644 --- a/F-Droid/res/layout/crash_report_dialog.xml +++ b/F-Droid/res/layout/crash_report_dialog.xml @@ -1,36 +1,43 @@ - - + android:paddingLeft="24dp" + android:paddingRight="24dp" + android:paddingBottom="24dp" + android:paddingTop="20dp" + > - + - + - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/F-Droid/src/org/fdroid/fdroid/CrashReportActivity.java b/F-Droid/src/org/fdroid/fdroid/CrashReportActivity.java index 983383101..91f83b2b9 100644 --- a/F-Droid/src/org/fdroid/fdroid/CrashReportActivity.java +++ b/F-Droid/src/org/fdroid/fdroid/CrashReportActivity.java @@ -15,7 +15,6 @@ public class CrashReportActivity extends BaseCrashReportDialog implements Dialog final AlertDialog dialog = new AlertDialog.Builder(this) .setTitle(R.string.crash_dialog_title) - .setIcon(android.R.drawable.ic_dialog_alert) .setView(R.layout.crash_report_dialog) .setPositiveButton(R.string.ok, this) .setNegativeButton(R.string.cancel, this)