|
|
|
@ -5,7 +5,6 @@
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
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="@color/photonGrey10">
|
|
|
|
@ -13,12 +12,11 @@
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/crash_tab_image"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:src="@drawable/ic_error_session_crashed"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
|
android:src="@drawable/fenix_error_1"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
|
|
|
app:layout_constraintWidth_percent="0.6"
|
|
|
|
|
app:layout_constraintWidth_percent="0.8"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
|
|
@ -26,58 +24,31 @@
|
|
|
|
|
android:id="@+id/title"
|
|
|
|
|
android:layout_width="300dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
|
android:lineSpacingExtra="8sp"
|
|
|
|
|
android:singleLine="false"
|
|
|
|
|
android:text="@string/tab_crash_title"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:textColor="@color/search_text"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:textColor="@color/light_mode_text_color"
|
|
|
|
|
android:textSize="24sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/crash_tab_image" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/description"
|
|
|
|
|
android:layout_width="300dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:lineSpacingExtra="7sp"
|
|
|
|
|
android:singleLine="false"
|
|
|
|
|
android:text="@string/tab_crash_description"
|
|
|
|
|
android:textColor="@color/search_text"
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/title" />
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
|
android:id="@+id/sendCrashCheckbox"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="32dp"
|
|
|
|
|
android:layout_marginBottom="@dimen/crash_reporter_close_tab_button_bottom_margin"
|
|
|
|
|
android:buttonTint="@color/crash_page_accent"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/tab_crash_send_report"
|
|
|
|
|
android:textColor="@color/search_text"
|
|
|
|
|
android:textSize="15sp"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/restoreTabButton"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintWidth_percent="0.8"
|
|
|
|
|
tools:text="@string/tab_crash_send_report" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/restoreTabButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_height="36dp"
|
|
|
|
|
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:backgroundTint="@color/crash_page_accent"
|
|
|
|
|
android:text="@string/tab_crash_restore"
|
|
|
|
|
android:fontFamily="Sharp Sans"
|
|
|
|
|
android:textColor="@color/off_white"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:background="@drawable/crash_reporter_button"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintWidth_percent="0.4" />
|
|
|
|
@ -85,14 +56,18 @@
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/closeTabButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_height="36dp"
|
|
|
|
|
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:backgroundTint="@color/crash_page_off_accent"
|
|
|
|
|
android:text="@string/tab_crash_close"
|
|
|
|
|
android:textColor="@color/search_text"
|
|
|
|
|
android:fontFamily="Sharp Sans"
|
|
|
|
|
android:textColor="@color/light_mode_text_color"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:background="@drawable/crash_reporter_button"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintWidth_percent="0.4" />
|
|
|
|
|