diff options
Diffstat (limited to 'mobile/android/fenix/app/src/main/res/layout/crash_extension_dialog.xml')
-rw-r--r-- | mobile/android/fenix/app/src/main/res/layout/crash_extension_dialog.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/mobile/android/fenix/app/src/main/res/layout/crash_extension_dialog.xml b/mobile/android/fenix/app/src/main/res/layout/crash_extension_dialog.xml new file mode 100644 index 0000000000..bab2ec4b6e --- /dev/null +++ b/mobile/android/fenix/app/src/main/res/layout/crash_extension_dialog.xml @@ -0,0 +1,41 @@ +<?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/. --> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + xmlns:tools="http://schemas.android.com/tools"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + android:id="@+id/message" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginHorizontal="24dp" + android:layout_marginVertical="8dp" + android:textColor="?attr/textPrimary" + tools:text="@string/extension_process_crash_dialog_message" /> + + <Button + android:id="@+id/positive" + style="@style/Widget.AppCompat.Button.Borderless.Colored" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/extension_process_crash_dialog_retry_button_text" + android:textAlignment="textEnd" + android:textColor="?textAccent" /> + + <Button + android:id="@+id/negative" + style="@style/Widget.AppCompat.Button.Borderless.Colored" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/extension_process_crash_dialog_disable_extensions_button_text" + android:textAlignment="textEnd" + android:textColor="?textAccent" /> + </LinearLayout> +</ScrollView> |