From 9d0d2cb07e8d66501916343673efea75b51755fa Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Thu, 27 Aug 2020 15:50:35 +1000 Subject: [PATCH] Light theme feature intro bottom sheet. --- res/drawable/ic_sun.xml | 84 +++++++++++++++++++ ...light_theme_feature_intro_bottom_sheet.xml | 51 +++++++++++ res/values/themes.xml | 8 +- .../securesms/loki/activities/HomeActivity.kt | 16 +++- .../loki/activities/PNModeActivity.kt | 1 + .../loki/dialogs/ChangeUiModeDialog.kt | 1 - .../LightThemeFeatureIntroBottomSheet.kt | 26 ++++++ .../loki/utilities/UiModeUtilities.kt | 31 +++---- .../securesms/util/TextSecurePreferences.java | 8 ++ 9 files changed, 207 insertions(+), 19 deletions(-) create mode 100644 res/drawable/ic_sun.xml create mode 100644 res/layout/fragment_light_theme_feature_intro_bottom_sheet.xml create mode 100644 src/org/thoughtcrime/securesms/loki/dialogs/LightThemeFeatureIntroBottomSheet.kt diff --git a/res/drawable/ic_sun.xml b/res/drawable/ic_sun.xml new file mode 100644 index 0000000000..293c6de3f7 --- /dev/null +++ b/res/drawable/ic_sun.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + diff --git a/res/layout/fragment_light_theme_feature_intro_bottom_sheet.xml b/res/layout/fragment_light_theme_feature_intro_bottom_sheet.xml new file mode 100644 index 0000000000..68b121ab86 --- /dev/null +++ b/res/layout/fragment_light_theme_feature_intro_bottom_sheet.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + +