From 8f5be6fd228c2dccb8543e1d9b850cff95eb8e66 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:44:41 +0900 Subject: [PATCH] feat(YouTube Music): add `Visual preferences icons for YouTube Music` patch https://github.com/inotia00/ReVanced_Extended/issues/2216 --- .../branding/icon/CustomBrandingIconPatch.kt | 2 +- .../visual/VisualPreferencesIconsPatch.kt | 147 + .../music/utils/settings/ResourceUtils.kt | 16 + .../revanced_extended_settings_icon.xml | 1011 ++ .../revanced_extended_settings_icon.xml | 1007 ++ .../revanced_extended_settings_icon.xml | 1023 ++ .../revanced_extended_settings_icon.xml | 1027 ++ .../revanced_extended_settings_icon.xml | 1023 ++ .../revanced_extended_settings_icon.xml | 31 + .../icons/drawable-xxhdpi/empty_icon.png | Bin 0 -> 100 bytes .../music/settings/icons/drawable/icon.xml | 18 + .../revanced_extended_settings_icon.xml | 18 + .../revanced_extended_settings_icon.xml | 18 + .../revanced_extended_settings_icon.xml | 18 + .../revanced_extended_settings_icon.xml | 12702 ++++++++++++++++ .../revanced_extended_settings_icon.xml | 18 + .../revanced_extended_settings_icon.xml | 18 + .../revanced_extended_settings_icon.xml | 18 + .../revanced_extended_settings_icon.xml | 12702 ++++++++++++++++ .../drawable/pref_key_parent_tools_icon.xml | 18 + .../revanced_extended_settings_icon.xml | 18 + ...evanced_preference_screen_account_icon.xml | 18 + ...nced_preference_screen_action_bar_icon.xml | 18 + .../revanced_preference_screen_ads_icon.xml | 18 + ...revanced_preference_screen_flyout_icon.xml | 18 + ...evanced_preference_screen_general_icon.xml | 18 + .../revanced_preference_screen_misc_icon.xml | 18 + ...nced_preference_screen_navigation_icon.xml | 18 + ...revanced_preference_screen_player_icon.xml | 18 + .../revanced_preference_screen_ryd_icon.xml | 18 + .../revanced_preference_screen_sb_icon.xml | 18 + .../revanced_preference_screen_video_icon.xml | 18 + ...ttings_header_about_youtube_music_icon.xml | 18 + .../settings_header_data_saving_icon.xml | 18 + ...ings_header_downloads_and_storage_icon.xml | 18 + .../drawable/settings_header_general_icon.xml | 18 + .../settings_header_notifications_icon.xml | 18 + .../settings_header_paid_memberships_icon.xml | 18 + .../settings_header_playback_icon.xml | 18 + ...tings_header_privacy_and_location_icon.xml | 18 + .../settings_header_recommendations_icon.xml | 18 + 41 files changed, 31212 insertions(+), 1 deletion(-) create mode 100644 src/main/kotlin/app/revanced/patches/music/layout/visual/VisualPreferencesIconsPatch.kt create mode 100644 src/main/resources/music/branding/afn_blue/settings/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/branding/afn_red/settings/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/branding/mmt/settings/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/branding/revancify_blue/settings/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/branding/revancify_red/settings/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/branding/youtube_music/settings/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/settings/icons/drawable-xxhdpi/empty_icon.png create mode 100644 src/main/resources/music/settings/icons/drawable/icon.xml create mode 100644 src/main/resources/music/settings/icons/extension/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/settings/icons/gear/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/settings/icons/revanced/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/settings/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/visual/icons/extension/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/visual/icons/gear/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/visual/icons/revanced/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/visual/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/pref_key_parent_tools_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_extended_settings_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_account_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_action_bar_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ads_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_flyout_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_general_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_misc_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_navigation_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_player_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ryd_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_sb_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/revanced_preference_screen_video_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_about_youtube_music_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_data_saving_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_downloads_and_storage_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_general_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_notifications_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_paid_memberships_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_playback_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_privacy_and_location_icon.xml create mode 100644 src/main/resources/music/visual/shared/drawable/settings_header_recommendations_icon.xml diff --git a/src/main/kotlin/app/revanced/patches/music/layout/branding/icon/CustomBrandingIconPatch.kt b/src/main/kotlin/app/revanced/patches/music/layout/branding/icon/CustomBrandingIconPatch.kt index 57a8bd6173..6ce8f15352 100644 --- a/src/main/kotlin/app/revanced/patches/music/layout/branding/icon/CustomBrandingIconPatch.kt +++ b/src/main/kotlin/app/revanced/patches/music/layout/branding/icon/CustomBrandingIconPatch.kt @@ -79,7 +79,7 @@ object CustomBrandingIconPatch : BaseResourcePatch( private val splashIconResourceGroups = largeDrawableDirectories.getResourceGroup(splashIconResourceFileNames) - private val AppIcon = stringPatchOption( + val AppIcon = stringPatchOption( key = "AppIcon", default = DEFAULT_ICON, values = availableIcon, diff --git a/src/main/kotlin/app/revanced/patches/music/layout/visual/VisualPreferencesIconsPatch.kt b/src/main/kotlin/app/revanced/patches/music/layout/visual/VisualPreferencesIconsPatch.kt new file mode 100644 index 0000000000..019c90a9b6 --- /dev/null +++ b/src/main/kotlin/app/revanced/patches/music/layout/visual/VisualPreferencesIconsPatch.kt @@ -0,0 +1,147 @@ +package app.revanced.patches.music.layout.visual + +import app.revanced.patcher.data.ResourceContext +import app.revanced.patcher.patch.options.PatchOption.PatchExtensions.stringPatchOption +import app.revanced.patches.music.layout.branding.icon.CustomBrandingIconPatch +import app.revanced.patches.music.utils.compatibility.Constants.COMPATIBLE_PACKAGE +import app.revanced.patches.music.utils.settings.ResourceUtils.SETTINGS_HEADER_PATH +import app.revanced.patches.music.utils.settings.SettingsPatch +import app.revanced.util.ResourceGroup +import app.revanced.util.copyResources +import app.revanced.util.doRecursively +import app.revanced.util.patch.BaseResourcePatch +import app.revanced.util.underBarOrThrow +import org.w3c.dom.Element +import java.io.Closeable + +@Suppress("DEPRECATION", "unused") +object VisualPreferencesIconsPatch : BaseResourcePatch( + name = "Visual preferences icons for YouTube Music", + description = "Adds icons to specific preferences in the settings.", + dependencies = setOf(SettingsPatch::class), + compatiblePackages = COMPATIBLE_PACKAGE +), Closeable { + private const val DEFAULT_ICON = "extension" + + private val RVXSettingsMenuIcon = stringPatchOption( + key = "RVXSettingsMenuIcon", + default = DEFAULT_ICON, + values = mapOf( + "Custom branding icon" to "custom_branding_icon", + "Extension" to DEFAULT_ICON, + "Gear" to "gear", + "ReVanced" to "revanced", + "ReVanced Colored" to "revanced_colored", + ), + title = "RVX settings menu icon", + description = "The icon for the RVX settings menu.", + required = true + ) + + private lateinit var context: ResourceContext + + override fun execute(context: ResourceContext) { + this.context = context + + // Check patch options first. + val selectedIconType = RVXSettingsMenuIcon + .underBarOrThrow() + + val customBrandingIconType = CustomBrandingIconPatch.AppIcon + .underBarOrThrow() + + // region copy shared resources. + + arrayOf( + ResourceGroup( + "drawable", + *preferenceKey.map { it + "_icon.xml" }.toTypedArray() + ), + ).forEach { resourceGroup -> + context.copyResources("music/visual/shared", resourceGroup) + } + + // endregion. + + // region copy RVX settings menu icon. + + val iconPath = when (selectedIconType) { + "custom_branding_icon" -> "music/branding/$customBrandingIconType/settings" + else -> "music/visual/icons/$selectedIconType" + } + val resourceGroup = ResourceGroup( + "drawable", + "revanced_extended_settings_icon.xml" + ) + + try { + context.copyResources(iconPath, resourceGroup) + } catch (_: Exception) { + // Ignore if resource copy fails + } + + // endregion. + } + + override fun close() { + + // region set visual preferences icon. + + context.xmlEditor[SETTINGS_HEADER_PATH].use { editor -> + editor.file.doRecursively loop@{ node -> + if (node !is Element) return@loop + + node.getAttributeNode("android:key") + ?.textContent + ?.removePrefix("@string/") + ?.let { title -> + val drawableName = when (title) { + in preferenceKey -> title + "_icon" + else -> null + } + + drawableName?.let { + node.setAttribute("android:icon", "@drawable/$it") + } + } + } + } + + // endregion. + + } + + // region preference key and icon. + + private val preferenceKey = setOf( + // YouTube settings. + "pref_key_parent_tools", + "settings_header_general", + "settings_header_playback", + "settings_header_data_saving", + "settings_header_downloads_and_storage", + "settings_header_notifications", + "settings_header_privacy_and_location", + "settings_header_recommendations", + "settings_header_paid_memberships", + "settings_header_about_youtube_music", + + // RVX settings. + "revanced_extended_settings", + + "revanced_preference_screen_account", + "revanced_preference_screen_action_bar", + "revanced_preference_screen_ads", + "revanced_preference_screen_flyout", + "revanced_preference_screen_general", + "revanced_preference_screen_navigation", + "revanced_preference_screen_player", + "revanced_preference_screen_video", + "revanced_preference_screen_ryd", + "revanced_preference_screen_sb", + "revanced_preference_screen_misc", + ) + + // endregion. + +} diff --git a/src/main/kotlin/app/revanced/patches/music/utils/settings/ResourceUtils.kt b/src/main/kotlin/app/revanced/patches/music/utils/settings/ResourceUtils.kt index a135b694e6..aa5a2edf53 100644 --- a/src/main/kotlin/app/revanced/patches/music/utils/settings/ResourceUtils.kt +++ b/src/main/kotlin/app/revanced/patches/music/utils/settings/ResourceUtils.kt @@ -104,6 +104,22 @@ object ResourceUtils { } } + fun ResourceContext.setPreferenceScreenIcon( + category: String + ) { + this.xmlEditor[SETTINGS_HEADER_PATH].use { editor -> + editor.file.doRecursively loop@{ + if (it !is Element) return@loop + + it.getAttributeNode("android:key")?.let { attribute -> + if (attribute.textContent == "revanced_preference_screen_$category") { + it.cloneNodes(it.parentNode) + } + } + } + } + } + fun ResourceContext.sortPreferenceCategory( category: String ) { diff --git a/src/main/resources/music/branding/afn_blue/settings/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/branding/afn_blue/settings/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..b34305bd05 --- /dev/null +++ b/src/main/resources/music/branding/afn_blue/settings/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,1011 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/branding/afn_red/settings/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/branding/afn_red/settings/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..ae0a784050 --- /dev/null +++ b/src/main/resources/music/branding/afn_red/settings/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,1007 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/branding/mmt/settings/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/branding/mmt/settings/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..6280d60264 --- /dev/null +++ b/src/main/resources/music/branding/mmt/settings/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,1023 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/branding/revancify_blue/settings/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/branding/revancify_blue/settings/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..31a5a95170 --- /dev/null +++ b/src/main/resources/music/branding/revancify_blue/settings/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,1027 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/branding/revancify_red/settings/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/branding/revancify_red/settings/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..4e9a3e24ce --- /dev/null +++ b/src/main/resources/music/branding/revancify_red/settings/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,1023 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/branding/youtube_music/settings/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/branding/youtube_music/settings/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..3cbd7311a8 --- /dev/null +++ b/src/main/resources/music/branding/youtube_music/settings/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,31 @@ + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/settings/icons/drawable-xxhdpi/empty_icon.png b/src/main/resources/music/settings/icons/drawable-xxhdpi/empty_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..8b97b78aea6b9c3418b98f347d54325bad4f334d GIT binary patch literal 100 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xf3?%cF6 + + + + diff --git a/src/main/resources/music/settings/icons/extension/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/settings/icons/extension/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..987e224f2a --- /dev/null +++ b/src/main/resources/music/settings/icons/extension/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/music/settings/icons/gear/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/settings/icons/gear/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..984b1fc6df --- /dev/null +++ b/src/main/resources/music/settings/icons/gear/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/music/settings/icons/revanced/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/settings/icons/revanced/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..cbf886b16a --- /dev/null +++ b/src/main/resources/music/settings/icons/revanced/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/music/settings/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/settings/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..d48f055ba4 --- /dev/null +++ b/src/main/resources/music/settings/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,12702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/icons/extension/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/visual/icons/extension/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..987e224f2a --- /dev/null +++ b/src/main/resources/music/visual/icons/extension/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/music/visual/icons/gear/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/visual/icons/gear/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..984b1fc6df --- /dev/null +++ b/src/main/resources/music/visual/icons/gear/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/music/visual/icons/revanced/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/visual/icons/revanced/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..cbf886b16a --- /dev/null +++ b/src/main/resources/music/visual/icons/revanced/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/music/visual/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/visual/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..d48f055ba4 --- /dev/null +++ b/src/main/resources/music/visual/icons/revanced_colored/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,12702 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/pref_key_parent_tools_icon.xml b/src/main/resources/music/visual/shared/drawable/pref_key_parent_tools_icon.xml new file mode 100644 index 0000000000..f541848b44 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/pref_key_parent_tools_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_extended_settings_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_extended_settings_icon.xml new file mode 100644 index 0000000000..987e224f2a --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_extended_settings_icon.xml @@ -0,0 +1,18 @@ + + + + + diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_account_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_account_icon.xml new file mode 100644 index 0000000000..1cb2414bc3 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_account_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_action_bar_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_action_bar_icon.xml new file mode 100644 index 0000000000..b36ded4134 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_action_bar_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ads_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ads_icon.xml new file mode 100644 index 0000000000..5e124ea662 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ads_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_flyout_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_flyout_icon.xml new file mode 100644 index 0000000000..86e0717fac --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_flyout_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_general_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_general_icon.xml new file mode 100644 index 0000000000..e1879d9889 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_general_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_misc_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_misc_icon.xml new file mode 100644 index 0000000000..5399e53bbc --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_misc_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_navigation_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_navigation_icon.xml new file mode 100644 index 0000000000..9b04311d85 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_navigation_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_player_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_player_icon.xml new file mode 100644 index 0000000000..b2579b49af --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_player_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ryd_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ryd_icon.xml new file mode 100644 index 0000000000..5d46c6930d --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_ryd_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_sb_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_sb_icon.xml new file mode 100644 index 0000000000..9371175a70 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_sb_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_video_icon.xml b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_video_icon.xml new file mode 100644 index 0000000000..0cee63a17f --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/revanced_preference_screen_video_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_about_youtube_music_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_about_youtube_music_icon.xml new file mode 100644 index 0000000000..66a8987d7a --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_about_youtube_music_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_data_saving_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_data_saving_icon.xml new file mode 100644 index 0000000000..7b219966e4 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_data_saving_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_downloads_and_storage_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_downloads_and_storage_icon.xml new file mode 100644 index 0000000000..ade43ef0bc --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_downloads_and_storage_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_general_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_general_icon.xml new file mode 100644 index 0000000000..e1879d9889 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_general_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_notifications_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_notifications_icon.xml new file mode 100644 index 0000000000..d2a5b1d2e8 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_notifications_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_paid_memberships_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_paid_memberships_icon.xml new file mode 100644 index 0000000000..bf3cab7bde --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_paid_memberships_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_playback_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_playback_icon.xml new file mode 100644 index 0000000000..79dfcf9444 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_playback_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_privacy_and_location_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_privacy_and_location_icon.xml new file mode 100644 index 0000000000..45d371fdb1 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_privacy_and_location_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file diff --git a/src/main/resources/music/visual/shared/drawable/settings_header_recommendations_icon.xml b/src/main/resources/music/visual/shared/drawable/settings_header_recommendations_icon.xml new file mode 100644 index 0000000000..b57590f8c3 --- /dev/null +++ b/src/main/resources/music/visual/shared/drawable/settings_header_recommendations_icon.xml @@ -0,0 +1,18 @@ + + + + + \ No newline at end of file