Added delete all remark

This commit is contained in:
M66B 2023-01-01 16:38:34 +01:00
parent d90acfbb46
commit 62130d23c6
3 changed files with 27 additions and 3 deletions

View File

@ -43,15 +43,27 @@
android:layout_height="wrap_content"
android:drawableStart="@drawable/twotone_warning_24"
android:drawablePadding="6dp"
app:drawableTint="?attr/colorWarning"
android:text="@string/title_advanced_clear_all"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:textColor="?android:attr/textColorPrimary"
android:textStyle="bold"
app:drawableTint="?attr/colorWarning"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvClearAllHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="@string/title_advanced_clear_all_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
<TextView
android:id="@+id/tvMessage"
android:layout_width="0dp"
@ -64,7 +76,7 @@
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
app:layout_constraintTop_toBottomOf="@id/tvClearAllHint" />
<Button
android:id="@+id/btnClearAll"

View File

@ -690,6 +690,17 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swDisconnectImages" />
<TextView
android:id="@+id/tvClearAllHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/title_advanced_clear_all_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnClearAll" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swMnemonic"
android:layout_width="0dp"
@ -698,7 +709,7 @@
android:text="@string/title_advanced_mnemonic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/btnClearAll"
app:layout_constraintTop_toBottomOf="@+id/tvClearAllHint"
app:switchPadding="12dp" />
<TextView

View File

@ -716,6 +716,7 @@
<string name="title_advanced_disconnect_auto_update">Automatically update lists weekly</string>
<string name="title_advanced_disconnect_links">Use lists to warn about tracking links</string>
<string name="title_advanced_disconnect_images">Use lists to recognize tracking images</string>
<string name="title_advanced_clear_all_hint">This will delete all app data from your device, including configured email accounts, messages, settings, and any collected data.</string>
<string name="title_advanced_mnemonic">Delete data remotely</string>
<string name="title_advanced_mnemonic_hint">Any email received with the below words in the subject line will automatically and immediately delete the app data</string>
<string name="title_advanced_clear_all">Delete the app data</string>