From b80d70c31f08cd6896db1adeb1a2fef36a799fbe Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 7 Jan 2020 16:11:02 +1100 Subject: [PATCH] Implement clear all data dialog redesign --- .../destructive_dialog_button_background.xml | 11 ++++ res/layout/dialog_clear_all_data.xml | 57 +++++++++++++++++++ res/values/styles.xml | 7 +++ .../redesign/activities/SettingsActivity.kt | 6 ++ .../redesign/dialogs/ClearAllDataDialog.kt | 30 ++++++++++ 5 files changed, 111 insertions(+) create mode 100644 res/drawable/destructive_dialog_button_background.xml create mode 100644 res/layout/dialog_clear_all_data.xml create mode 100644 src/org/thoughtcrime/securesms/loki/redesign/dialogs/ClearAllDataDialog.kt diff --git a/res/drawable/destructive_dialog_button_background.xml b/res/drawable/destructive_dialog_button_background.xml new file mode 100644 index 0000000000..9d3ac00b07 --- /dev/null +++ b/res/drawable/destructive_dialog_button_background.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/layout/dialog_clear_all_data.xml b/res/layout/dialog_clear_all_data.xml new file mode 100644 index 0000000000..5decd89406 --- /dev/null +++ b/res/layout/dialog_clear_all_data.xml @@ -0,0 +1,57 @@ + + + + + + + + + +