summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-09-11 23:29:58 +0200
committerByteHamster <info@bytehamster.com>2019-09-11 23:43:05 +0200
commit5f01e5045a9bf628f5c8d50b08936d8fe88a6b26 (patch)
tree0a1441fa13cd80b358fe898dfc02dbb48813041a /app/src/main/res/layout
parentada0101b0754cf4b34a1719f90f0b20571dab8db (diff)
downloadAntennaPod-5f01e5045a9bf628f5c8d50b08936d8fe88a6b26.zip
Added screen that shows crash info
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/crash_report.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/layout/crash_report.xml b/app/src/main/res/layout/crash_report.xml
new file mode 100644
index 000000000..e97e85265
--- /dev/null
+++ b/app/src/main/res/layout/crash_report.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:padding="16dp">
+ <Button
+ android:id="@+id/btn_open_bug_tracker"
+ android:text="@string/open_bug_tracker"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ <Button
+ android:id="@+id/btn_copy_log"
+ android:text="@string/copy_to_clipboard"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ <TextView
+ android:layout_marginTop="8dp"
+ android:id="@+id/crash_report_logs"
+ android:textIsSelectable="true"
+ android:textSize="12sp"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"/>
+
+</LinearLayout>