From af120ded097a47e84d8b0dad96f39e0a2e536c39 Mon Sep 17 00:00:00 2001 From: 20captainx12 <63267239+20captainx12@users.noreply.github.com> Date: Fri, 4 Mar 2022 03:46:11 +0000 Subject: Added adaptive icons (#646) Start adding adaptive icons for Android Tiramisu. --- .../drawable-night-v31/ic_launcher_background.xml | 10 ++++ .../drawable-night-v31/ic_launcher_foreground.xml | 64 ++++++++++++++++++++++ .../res/drawable-v31/ic_launcher_background.xml | 10 ++++ .../res/drawable-v31/ic_launcher_foreground.xml | 64 ++++++++++++++++++++++ app/src/main/res/values/strings.xml | 2 + app/src/main/res/xml/theme_preferences.xml | 6 ++ 6 files changed, 156 insertions(+) create mode 100644 app/src/main/res/drawable-night-v31/ic_launcher_background.xml create mode 100644 app/src/main/res/drawable-night-v31/ic_launcher_foreground.xml create mode 100644 app/src/main/res/drawable-v31/ic_launcher_background.xml create mode 100644 app/src/main/res/drawable-v31/ic_launcher_foreground.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-night-v31/ic_launcher_background.xml b/app/src/main/res/drawable-night-v31/ic_launcher_background.xml new file mode 100644 index 00000000..cf19ae34 --- /dev/null +++ b/app/src/main/res/drawable-night-v31/ic_launcher_background.xml @@ -0,0 +1,10 @@ + + + + diff --git a/app/src/main/res/drawable-night-v31/ic_launcher_foreground.xml b/app/src/main/res/drawable-night-v31/ic_launcher_foreground.xml new file mode 100644 index 00000000..037bc939 --- /dev/null +++ b/app/src/main/res/drawable-night-v31/ic_launcher_foreground.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable-v31/ic_launcher_background.xml b/app/src/main/res/drawable-v31/ic_launcher_background.xml new file mode 100644 index 00000000..e4b20200 --- /dev/null +++ b/app/src/main/res/drawable-v31/ic_launcher_background.xml @@ -0,0 +1,10 @@ + + + + diff --git a/app/src/main/res/drawable-v31/ic_launcher_foreground.xml b/app/src/main/res/drawable-v31/ic_launcher_foreground.xml new file mode 100644 index 00000000..623c6a5e --- /dev/null +++ b/app/src/main/res/drawable-v31/ic_launcher_foreground.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e0a00dca..abfe25e0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -489,6 +489,8 @@ Personalize Infinity based on Your Wallpaper Apply Material You In case Infinity did not change the theme + Enable Themed Icon + If you have Material You enabled,\n this adapts the app icon to those colours. Custom themes cannot be applied to settings page (except toolbar, status bar and navigation bar). Advanced Delete All Subreddits in Database diff --git a/app/src/main/res/xml/theme_preferences.xml b/app/src/main/res/xml/theme_preferences.xml index 6c8b9504..ca7dc0ac 100644 --- a/app/src/main/res/xml/theme_preferences.xml +++ b/app/src/main/res/xml/theme_preferences.xml @@ -65,4 +65,10 @@ app:title="@string/settings_apply_material_you_title" app:summary="@string/settings_apply_material_you_summary" /> + + \ No newline at end of file -- cgit v1.2.3