2020-01-07 16:11:02 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/default_dialog_background_inset"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="32dp"
|
|
|
|
android:paddingTop="@dimen/medium_spacing"
|
|
|
|
android:paddingRight="32dp"
|
|
|
|
android:paddingBottom="@dimen/medium_spacing">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-25 16:38:36 +10:00
|
|
|
android:text="@string/dialog_clear_all_data_title"
|
2020-01-07 16:11:02 +11:00
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textSize="@dimen/medium_font_size" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/seedTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
2020-05-25 16:38:36 +10:00
|
|
|
android:text="@string/dialog_clear_all_data_explanation"
|
2020-01-07 16:11:02 +11:00
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/UnimportantDialogButton"
|
|
|
|
android:id="@+id/cancelButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
2020-05-25 16:38:36 +10:00
|
|
|
android:text="@string/cancel" />
|
2020-01-07 16:11:02 +11:00
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/DestructiveDialogButton"
|
|
|
|
android:id="@+id/clearAllDataButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginLeft="@dimen/medium_spacing"
|
2020-05-25 16:38:36 +10:00
|
|
|
android:text="@string/delete" />
|
2020-01-07 16:11:02 +11:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|