add crash handling dialog with optional sending of the crash to the author
[mobile-ledger.git] / app / src / main / res / layout / crash_dialog.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:tools="http://schemas.android.com/tools"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:orientation="vertical"
7     android:paddingStart="8dp"
8     android:paddingTop="8dp"
9     android:paddingEnd="8dp">
10
11     <ScrollView
12         android:id="@+id/scrollText"
13         android:layout_width="match_parent"
14         android:layout_height="wrap_content"
15         android:layout_weight="9"
16         android:background="@color/table_row_light_bg"
17         android:scrollbars="horizontal|vertical"
18         android:visibility="gone">
19
20         <LinearLayout
21             android:layout_width="match_parent"
22             android:layout_height="wrap_content"
23             android:orientation="vertical"
24             android:padding="8dp">
25
26             <TextView
27                 android:id="@+id/textCrashReport"
28                 android:layout_width="match_parent"
29                 android:layout_height="wrap_content"
30                 android:text="Example crash report text goes here"
31                 tools:ignore="HardcodedText" />
32         </LinearLayout>
33     </ScrollView>
34
35     <TextView
36         android:id="@+id/textView7"
37         android:layout_width="match_parent"
38         android:layout_height="wrap_content"
39         android:layout_marginTop="16dp"
40         android:text="@string/crash_send_question" />
41
42 </LinearLayout>