2019-03-20 18:47:22 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2020-06-04 14:06:13 +02:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?above">
|
2019-03-20 18:47:22 +01:00
|
|
|
|
|
|
|
<ImageView
|
2020-06-04 14:06:13 +02:00
|
|
|
android:id="@+id/crash_tab_image"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="120dp"
|
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
android:importantForAccessibility="no"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintWidth_percent="0.8"
|
|
|
|
app:srcCompat="@drawable/fenix_error_1" />
|
2019-03-20 18:47:22 +01:00
|
|
|
|
|
|
|
<TextView
|
2020-06-04 14:06:13 +02:00
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="300dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:lineSpacingExtra="8sp"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="24sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/crash_tab_image"
|
|
|
|
tools:text="@string/tab_crash_title_2" />
|
2019-03-20 18:47:22 +01:00
|
|
|
|
2019-03-29 21:00:03 +01:00
|
|
|
<CheckBox
|
2020-06-04 14:06:13 +02:00
|
|
|
android:id="@+id/sendCrashCheckbox"
|
|
|
|
android:layout_width="0dp"
|
2020-06-04 14:18:29 +02:00
|
|
|
android:layout_height="48dp"
|
|
|
|
android:paddingTop="6dp"
|
|
|
|
android:paddingBottom="6dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
2020-06-04 14:06:13 +02:00
|
|
|
android:buttonTint="?accentHighContrast"
|
|
|
|
android:checked="true"
|
|
|
|
android:text="@string/tab_crash_send_report"
|
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textSize="15sp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/closeTabButton"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintWidth_percent="0.9" />
|
2019-03-29 21:00:03 +01:00
|
|
|
|
2019-03-20 18:47:22 +01:00
|
|
|
<Button
|
2020-06-04 14:06:13 +02:00
|
|
|
android:id="@+id/restoreTabButton"
|
|
|
|
android:layout_width="0dp"
|
2020-06-04 14:18:29 +02:00
|
|
|
android:layout_height="48dp"
|
2020-06-04 14:06:13 +02:00
|
|
|
android:layout_marginStart="@dimen/crash_reporter_close_tab_button_horizontal_margin"
|
|
|
|
android:layout_marginEnd="@dimen/crash_reporter_close_tab_button_horizontal_margin"
|
|
|
|
android:layout_marginBottom="@dimen/crash_reporter_close_tab_button_bottom_margin"
|
|
|
|
android:background="@drawable/crash_reporter_button"
|
|
|
|
android:backgroundTint="?accentHighContrast"
|
|
|
|
android:fontFamily="Sharp Sans"
|
|
|
|
android:text="@string/tab_crash_restore"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="?contrastText"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintWidth_percent="0.4" />
|
2019-03-20 18:47:22 +01:00
|
|
|
|
|
|
|
<Button
|
2020-06-04 14:06:13 +02:00
|
|
|
android:id="@+id/closeTabButton"
|
|
|
|
android:layout_width="0dp"
|
2020-06-04 14:18:29 +02:00
|
|
|
android:layout_height="48dp"
|
2020-06-04 14:06:13 +02:00
|
|
|
android:layout_marginStart="@dimen/crash_reporter_close_tab_button_horizontal_margin"
|
|
|
|
android:layout_marginEnd="@dimen/crash_reporter_close_tab_button_horizontal_margin"
|
|
|
|
android:layout_marginBottom="@dimen/crash_reporter_close_tab_button_bottom_margin"
|
|
|
|
android:background="@drawable/crash_reporter_button"
|
|
|
|
android:backgroundTint="?neutral"
|
|
|
|
android:fontFamily="Sharp Sans"
|
|
|
|
android:text="@string/tab_crash_close"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="@color/primary_text_light_theme"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintWidth_percent="0.4" />
|
2019-06-11 19:00:40 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|