From 743731eeb0fa46a6d7cc440a0b265dc1d49d71a9 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Thu, 20 Aug 2020 18:08:10 +1000 Subject: [PATCH] Old QR code icons replaced with a material lightweight one. --- res/drawable/ic_qr_code.xml | 241 ------------------ res/drawable/ic_qr_code_24.xml | 10 + res/drawable/icon_qr_code.xml | 15 -- res/layout/activity_settings.xml | 3 +- res/menu/menu_settings.xml | 12 - res/menu/settings_general.xml | 2 +- res/xml/preferences.xml | 2 +- .../ApplicationPreferencesActivity.java | 2 +- 8 files changed, 15 insertions(+), 272 deletions(-) delete mode 100644 res/drawable/ic_qr_code.xml create mode 100644 res/drawable/ic_qr_code_24.xml delete mode 100644 res/drawable/icon_qr_code.xml delete mode 100644 res/menu/menu_settings.xml diff --git a/res/drawable/ic_qr_code.xml b/res/drawable/ic_qr_code.xml deleted file mode 100644 index a14566b955..0000000000 --- a/res/drawable/ic_qr_code.xml +++ /dev/null @@ -1,241 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/drawable/ic_qr_code_24.xml b/res/drawable/ic_qr_code_24.xml new file mode 100644 index 0000000000..acd7573fdd --- /dev/null +++ b/res/drawable/ic_qr_code_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/res/drawable/icon_qr_code.xml b/res/drawable/icon_qr_code.xml deleted file mode 100644 index d694c7297f..0000000000 --- a/res/drawable/icon_qr_code.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/res/layout/activity_settings.xml b/res/layout/activity_settings.xml index aa62a3bbd5..f4512b9a97 100644 --- a/res/layout/activity_settings.xml +++ b/res/layout/activity_settings.xml @@ -6,8 +6,9 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/default_session_background" + tools:context="org.thoughtcrime.securesms.loki.activities.SettingsActivity" tools:theme="@style/Session.DarkTheme.NoActionBar" - tools:context="org.thoughtcrime.securesms.loki.activities.SettingsActivity"> + tools:menu="@menu/settings_general"> - - - - - \ No newline at end of file diff --git a/res/menu/settings_general.xml b/res/menu/settings_general.xml index 0d9788a28a..a965be5fb1 100644 --- a/res/menu/settings_general.xml +++ b/res/menu/settings_general.xml @@ -6,7 +6,7 @@ \ No newline at end of file diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 4f8b6e4663..0710e1f03a 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -43,7 +43,7 @@ + android:icon="@drawable/ic_qr_code_24"/>