1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <androidx.constraintlayout.widget.ConstraintLayout
6 xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:app="http://schemas.android.com/apk/res-auto"
8 xmlns:tools="http://schemas.android.com/tools"
9 android:layout_width="match_parent"
10 android:layout_height="match_parent"
11 android:background="?above">
14 android:id="@+id/crash_tab_image"
15 android:layout_width="0dp"
16 android:layout_height="120dp"
17 android:layout_marginTop="40dp"
18 android:importantForAccessibility="no"
19 app:layout_constraintEnd_toEndOf="parent"
20 app:layout_constraintStart_toStartOf="parent"
21 app:layout_constraintTop_toTopOf="parent"
22 app:layout_constraintWidth_percent="0.8"
23 app:srcCompat="@drawable/fenix_error_1" />
26 android:id="@+id/title"
27 android:layout_width="300dp"
28 android:layout_height="wrap_content"
29 android:layout_marginTop="6dp"
30 android:lineSpacingExtra="8sp"
31 android:singleLine="false"
32 android:textColor="?attr/textPrimary"
33 android:textSize="24sp"
34 android:textStyle="bold"
35 app:layout_constraintEnd_toEndOf="parent"
36 app:layout_constraintStart_toStartOf="parent"
37 app:layout_constraintTop_toBottomOf="@id/crash_tab_image"
38 tools:text="@string/tab_crash_title_2" />
41 android:id="@+id/sendCrashCheckbox"
42 android:layout_width="0dp"
43 android:layout_height="48dp"
44 android:paddingTop="6dp"
45 android:paddingBottom="6dp"
46 android:layout_marginBottom="8dp"
47 android:buttonTint="?accentHighContrast"
48 android:checked="true"
49 android:text="@string/tab_crash_send_report"
50 android:textColor="?attr/textPrimary"
51 android:textSize="15sp"
52 app:layout_constraintBottom_toTopOf="@id/closeTabButton"
53 app:layout_constraintEnd_toEndOf="parent"
54 app:layout_constraintStart_toStartOf="parent"
55 app:layout_constraintWidth_percent="0.9" />
58 style="@style/PositiveButton"
59 android:id="@+id/restoreTabButton"
60 android:layout_width="0dp"
61 android:layout_height="48dp"
62 android:layout_marginStart="@dimen/crash_reporter_close_tab_button_horizontal_margin"
63 android:layout_marginEnd="@dimen/crash_reporter_close_tab_button_horizontal_margin"
64 android:layout_marginBottom="@dimen/crash_reporter_close_tab_button_bottom_margin"
65 android:background="@drawable/crash_reporter_button"
66 android:backgroundTint="?accentHighContrast"
67 android:fontFamily="Sharp Sans"
68 android:text="@string/tab_crash_restore"
69 android:textAllCaps="false"
70 android:textSize="14sp"
71 android:textStyle="bold"
72 app:layout_constraintBottom_toBottomOf="parent"
73 app:layout_constraintEnd_toEndOf="parent"
74 app:layout_constraintWidth_percent="0.4" />
77 style="@style/NeutralButton"
78 android:id="@+id/closeTabButton"
79 android:layout_width="0dp"
80 android:layout_height="48dp"
81 android:layout_marginStart="@dimen/crash_reporter_close_tab_button_horizontal_margin"
82 android:layout_marginEnd="@dimen/crash_reporter_close_tab_button_horizontal_margin"
83 android:layout_marginBottom="@dimen/crash_reporter_close_tab_button_bottom_margin"
84 android:background="@drawable/crash_reporter_button"
85 android:backgroundTint="?neutral"
86 android:fontFamily="Sharp Sans"
87 android:text="@string/tab_crash_close"
88 android:textAllCaps="false"
89 android:textColor="@color/primary_text_light_theme"
90 android:textSize="14sp"
91 android:textStyle="bold"
92 app:layout_constraintBottom_toBottomOf="parent"
93 app:layout_constraintStart_toStartOf="parent"
94 app:layout_constraintWidth_percent="0.4" />
95 </androidx.constraintlayout.widget.ConstraintLayout>