feat(YouTube/Custom branding icon): add patch option YouTube (Minimal header) (#83)

* add minimal yt icon

* add minimal yt icon

* Update VisualPreferencesIconsPatch.kt

* add new choice for settings icon

* repalce png turned vector drawables with vector drawables

* add splash

* add splash

* make premium header minimal

* rename to yt_minimal

* change patch option name

* fix compile error

* fix: match icons

* use more appropriate icon

---------

Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com>
This commit is contained in:
MondayNitro 2024-09-23 18:24:36 +05:30 committed by GitHub
parent 9cbc01900e
commit 29f4e06f75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
49 changed files with 478 additions and 9614 deletions

View File

@ -30,7 +30,8 @@ object CustomBrandingIconPatch : BaseResourcePatch(
"MMT" to "mmt",
"Revancify Blue" to DEFAULT_ICON,
"Revancify Red" to "revancify_red",
"YouTube" to "youtube"
"YouTube" to "youtube",
"YouTube (Minimal header)" to "youtube_minimal_header"
)
private val sizeArray = arrayOf(

View File

@ -32,6 +32,7 @@ object VisualPreferencesIconsPatch : BaseResourcePatch(
"Custom branding icon" to "custom_branding_icon",
"Extension" to DEFAULT_ICON,
"Gear" to "gear",
"YT alt" to "yt_alt",
"ReVanced" to "revanced",
"ReVanced Colored" to "revanced_colored",
),

View File

@ -26,6 +26,8 @@ fun PatchOption<String>.lowerCaseOrThrow() = valueOrThrow()
fun PatchOption<String>.underBarOrThrow() = lowerCaseOrThrow()
.replace(" ", "_")
.replace("(", "")
.replace(")", "")
fun Node.adoptChild(tagName: String, block: Element.() -> Unit) {
val child = ownerDocument.createElement(tagName)

View File

@ -0,0 +1,96 @@
<animated-vector
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector
android:name="vector"
android:width="360dp"
android:height="360dp"
android:viewportWidth="360"
android:viewportHeight="360">
<group
android:name="group"
android:pivotX="180"
android:pivotY="180">
<path
android:name="path_1"
android:pathData="M 180 80 C 158.885 80 138.304 86.687 121.221 99.098 C 104.139 111.509 91.419 129.017 84.894 149.098 C 78.37 169.18 78.37 190.82 84.894 210.902 C 91.419 230.983 104.139 248.491 121.221 260.902 C 138.304 273.313 158.885 280 180 280 C 201.115 280 221.696 273.313 238.779 260.902 C 255.861 248.491 268.581 230.983 275.106 210.902 C 281.63 190.82 281.63 169.18 275.106 149.098 C 268.581 129.017 255.861 111.509 238.779 99.098 C 221.696 86.687 201.115 80 180 80 Z"
android:fillColor="#111522"
android:strokeWidth="1"/>
</group>
<group
android:name="group_1"
android:pivotX="180"
android:pivotY="180">
<path
android:name="path_2"
android:pathData="M 175.175 173.264 C 180.755 176.487 180.755 184.54 175.175 187.761 L 136.673 209.991 C 131.093 213.212 124.118 209.185 124.118 202.742 L 124.118 158.284 C 124.118 151.84 131.093 147.813 136.673 151.034 L 175.175 173.264 Z"
android:fillColor="#386eff"
android:strokeWidth="1"/>
<path
android:name="path_3"
android:pathData="M 227.906 166.424 C 238.322 172.439 238.322 187.472 227.906 193.485 L 174.337 224.413 C 163.922 230.427 150.901 222.91 150.901 210.882 L 150.901 149.027 C 150.901 137 163.922 129.484 174.337 135.497 L 227.906 166.424 Z"
android:fillColor="#ffffff"
android:strokeWidth="1"/>
<path
android:name="path_4"
android:pathData="M 150.901 159.251 L 175.175 173.264 C 180.755 176.487 180.755 184.54 175.175 187.761 L 150.901 201.776 L 150.901 159.251 Z"
android:fillColor="#111522"
android:strokeWidth="1"
android:fillType="evenOdd"/>
</group>
</vector>
</aapt:attr>
<target android:name="group">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:propertyName="scaleX"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
<objectAnimator
android:propertyName="scaleY"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
</set>
</aapt:attr>
</target>
<target android:name="group_1">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:propertyName="scaleX"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
<objectAnimator
android:propertyName="scaleY"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
<objectAnimator
android:propertyName="rotation"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="360"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
</set>
</aapt:attr>
</target>
</animated-vector>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Base.Theme.YouTube.Launcher" parent="@style/Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowSplashScreenAnimatedIcon">@drawable/avd_anim</item>
<item name="android:windowSplashScreenAnimationDuration">1000</item>
</style>
</resources>

View File

@ -0,0 +1,96 @@
<animated-vector
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector
android:name="vector"
android:width="360dp"
android:height="360dp"
android:viewportWidth="360"
android:viewportHeight="360">
<group
android:name="group"
android:pivotX="180"
android:pivotY="180">
<path
android:name="path_1"
android:pathData="M 180 80 C 158.885 80 138.304 86.687 121.221 99.098 C 104.139 111.509 91.419 129.017 84.894 149.098 C 78.37 169.18 78.37 190.82 84.894 210.902 C 91.419 230.983 104.139 248.491 121.221 260.902 C 138.304 273.313 158.885 280 180 280 C 201.115 280 221.696 273.313 238.779 260.902 C 255.861 248.491 268.581 230.983 275.106 210.902 C 281.63 190.82 281.63 169.18 275.106 149.098 C 268.581 129.017 255.861 111.509 238.779 99.098 C 221.696 86.687 201.115 80 180 80 Z"
android:fillColor="#111522"
android:strokeWidth="1"/>
</group>
<group
android:name="group_1"
android:pivotX="180"
android:pivotY="180">
<path
android:name="path_2"
android:pathData="M 175.175 173.264 C 180.755 176.487 180.755 184.54 175.175 187.761 L 136.673 209.991 C 131.093 213.212 124.118 209.185 124.118 202.742 L 124.118 158.284 C 124.118 151.84 131.093 147.813 136.673 151.034 L 175.175 173.264 Z"
android:fillColor="#ff4151"
android:strokeWidth="1"/>
<path
android:name="path_3"
android:pathData="M 227.906 166.424 C 238.322 172.439 238.322 187.472 227.906 193.485 L 174.337 224.413 C 163.922 230.427 150.901 222.91 150.901 210.882 L 150.901 149.027 C 150.901 137 163.922 129.484 174.337 135.497 L 227.906 166.424 Z"
android:fillColor="#ffffff"
android:strokeWidth="1"/>
<path
android:name="path_4"
android:pathData="M 150.901 159.251 L 175.175 173.264 C 180.755 176.487 180.755 184.54 175.175 187.761 L 150.901 201.776 L 150.901 159.251 Z"
android:fillColor="#111522"
android:strokeWidth="1"
android:fillType="evenOdd"/>
</group>
</vector>
</aapt:attr>
<target android:name="group">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:propertyName="scaleX"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
<objectAnimator
android:propertyName="scaleY"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
</set>
</aapt:attr>
</target>
<target android:name="group_1">
<aapt:attr name="android:animation">
<set>
<objectAnimator
android:propertyName="scaleX"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
<objectAnimator
android:propertyName="scaleY"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
<objectAnimator
android:propertyName="rotation"
android:startOffset="200"
android:duration="600"
android:valueFrom="0"
android:valueTo="360"
android:valueType="floatType"
android:interpolator="@android:anim/overshoot_interpolator"/>
</set>
</aapt:attr>
</target>
</animated-vector>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Base.Theme.YouTube.Launcher" parent="@style/Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowSplashScreenAnimatedIcon">@drawable/avd_anim</item>
<item name="android:windowSplashScreenAnimationDuration">1000</item>
</style>
</resources>

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,25 @@
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="vector"
android:width="48.0dp"
android:height="48.0dp"
android:viewportWidth="192.0"
android:viewportHeight="192.0">
<group
android:scaleX="0.5"
android:scaleY="0.5"
android:pivotX="96"
android:pivotY="96">
<path
android:name="path_2"
android:pathData="M 96 16.663 C 74.967 16.663 54.773 25.027 39.9 39.9 C 25.027 54.773 16.663 74.967 16.663 96 C 16.663 117.033 25.027 137.227 39.9 152.1 C 54.773 166.973 74.967 175.337 96 175.337 C 117.033 175.337 137.227 166.973 152.1 152.1 C 166.973 137.227 175.337 117.033 175.337 96 C 175.337 74.967 166.973 54.773 152.1 39.9 C 137.227 25.027 117.033 16.663 96 16.663 Z"
android:fillColor="#ff0000"
android:strokeWidth="1"/>
<path
android:name="path_3"
android:pathData="M 140.827 65.765 C 142.411 67.348 143.551 69.319 144.136 71.48 C 147.504 85.034 146.725 106.442 144.202 120.52 C 143.617 122.681 142.476 124.652 140.893 126.235 C 139.31 127.818 137.339 128.959 135.178 129.544 C 127.266 131.702 95.422 131.702 95.422 131.702 C 95.422 131.702 63.579 131.702 55.667 129.544 C 53.506 128.959 51.535 127.818 49.952 126.235 C 48.369 124.652 47.228 122.681 46.643 120.52 C 43.256 107.024 44.185 85.603 46.578 71.545 C 47.163 69.384 48.303 67.413 49.887 65.83 C 51.47 64.247 53.44 63.106 55.601 62.521 C 63.513 60.364 95.357 60.298 95.357 60.298 C 95.357 60.298 127.201 60.298 135.113 62.456 C 137.274 63.041 139.244 64.182 140.827 65.765 Z M 111.639 96 L 85.222 111.301 L 85.222 80.699 L 111.639 96 Z"
android:fillColor="#ffffff"
android:strokeWidth="1"
android:fillType="evenOdd"/>
</group>
</vector>

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator android:pathData="M 0.0,0.0 c0.2,0 0.6,1 1.0,1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator android:pathData="M 0.0,0.0 c0.2,0 0.6,1 1.0,1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator android:pathData="M 0.0,0.0 c0.05,0 0,1 1.0,1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator android:pathData="M 0.0,0.0 c0.05,0 0,1 1.0,1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator android:pathData="M 0.0,0.0 c0.05,0 0,1 1.0,1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<pathInterpolator android:pathData="M 0.0,0.0 c0.05,0 0,1 1.0,1.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="432.0dip" android:width="432.0dip" android:viewportWidth="432.0" android:viewportHeight="432.0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<group android:name="_R_G">
<group android:name="_R_G_L_2_G" android:pivotX="60.992" android:pivotY="42.77" android:scaleX="1.69" android:scaleY="1.69" android:translateX="157.008" android:translateY="175.23">
<path android:name="_R_G_L_2_G_D_0_P_0" android:fillColor="#ff9aa0a6" android:pathData=" M119.2 13.53 C117.8,8.3 113.68,4.19 108.46,2.79 C98.98,0.25 60.99,0.25 60.99,0.25 C60.99,0.25 23,0.25 13.53,2.79 C8.3,4.19 4.18,8.3 2.79,13.53 C0.25,23 0.25,42.77 0.25,42.77 C0.25,42.77 0.25,62.54 2.79,72.01 C4.18,77.24 8.3,81.35 13.53,82.75 C23,85.29 60.99,85.29 60.99,85.29 C60.99,85.29 98.98,85.29 108.46,82.75 C113.68,81.35 117.8,77.24 119.2,72.01 C121.73,62.54 121.73,42.77 121.73,42.77 C121.73,42.77 121.73,23 119.2,13.53c " android:fillAlpha="0.35" />
</group>
<group android:name="_R_G_L_1_G" android:pivotX="60.992" android:pivotY="42.77" android:scaleX="1.69" android:scaleY="1.69" android:translateX="157.008" android:translateY="175.23">
<clip-path android:name="maskx" android:pathData=" M119.2 13.53 C117.8,8.3 113.68,4.19 108.46,2.79 C98.98,0.25 60.99,0.25 60.99,0.25 C60.99,0.25 23,0.25 13.53,2.79 C8.3,4.19 4.18,8.3 2.79,13.53 C0.25,23 0.25,42.77 0.25,42.77 C0.25,42.77 0.25,62.54 2.79,72.01 C4.18,77.24 8.3,81.35 13.53,82.75 C23,85.29 60.99,85.29 60.99,85.29 C60.99,85.29 98.98,85.29 108.46,82.75 C113.68,81.35 117.8,77.24 119.2,72.01 C121.73,62.54 121.73,42.77 121.73,42.77 C121.73,42.77 121.73,23 119.2,13.53c " />
<path android:name="_R_G_L_1_G_D_0_P_0" android:fillColor="#ffff0000" android:pathData=" M-184.91 148.88 C-184.91,148.88 -1.22,42.83 -1.22,42.83 C-1.22,42.83 -184.91,-63.23 -184.91,-63.23 C-184.91,-63.23 -184.91,148.88 -184.91,148.88c " android:fillAlpha="0.0" />
<path android:name="_R_G_L_1_G_D_1_P_0" android:fillColor="#ffffffff" android:pathData=" M-5.69 46.08 C-5.69,46.08 -0.03,42.82 -0.03,42.82 C-0.03,42.82 -5.69,39.55 -5.69,39.55 C-5.69,39.55 -5.69,46.08 -5.69,46.08c " android:fillAlpha="1.0" />
</group>
</group>
<group android:name="time_group" />
</vector>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:ordering="together"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<objectAnimator android:interpolator="@drawable/$$avd_anim__1__0" android:duration="167" android:startOffset="0" android:valueFrom="0" android:valueTo="0" android:valueType="floatType" android:propertyName="fillAlpha" />
<objectAnimator android:interpolator="@drawable/$$avd_anim__1__1" android:duration="750" android:startOffset="167" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:propertyName="fillAlpha" />
</set>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:ordering="together"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<objectAnimator android:interpolator="@drawable/$$avd_anim__2__0" android:duration="167" android:startOffset="0" android:valueFrom="M-184.91 148.88 C-184.91,148.88 -1.22,42.83 -1.22,42.83 C-1.22,42.83 -184.91,-63.23 -184.91,-63.23 C-184.91,-63.23 -184.91,148.88 -184.91,148.88c " android:valueTo="M-184.91 148.88 C-184.91,148.88 -1.22,42.83 -1.22,42.83 C-1.22,42.83 -184.91,-63.23 -184.91,-63.23 C-184.91,-63.23 -184.91,148.88 -184.91,148.88c " android:valueType="pathType" android:propertyName="pathData" />
<objectAnimator android:interpolator="@drawable/$$avd_anim__2__1" android:duration="383" android:startOffset="167" android:valueFrom="M-184.91 148.88 C-184.91,148.88 -1.22,42.83 -1.22,42.83 C-1.22,42.83 -184.91,-63.23 -184.91,-63.23 C-184.91,-63.23 -184.91,148.88 -184.91,148.88c " android:valueTo="M-3.25 148.9 C-3.25,148.9 180.44,42.85 180.44,42.85 C180.44,42.85 -3.25,-63.21 -3.25,-63.21 C-3.25,-63.21 -3.25,148.9 -3.25,148.9c " android:valueType="pathType" android:propertyName="pathData" />
</set>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:ordering="together"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<objectAnimator android:interpolator="@drawable/$$avd_anim__3__0" android:duration="217" android:startOffset="0" android:valueFrom="M-5.69 46.08 C-5.69,46.08 -0.03,42.82 -0.03,42.82 C-0.03,42.82 -5.69,39.55 -5.69,39.55 C-5.69,39.55 -5.69,46.08 -5.69,46.08c " android:valueTo="M-5.69 46.08 C-5.69,46.08 -0.03,42.82 -0.03,42.82 C-0.03,42.82 -5.69,39.55 -5.69,39.55 C-5.69,39.55 -5.69,46.08 -5.69,46.08c " android:valueType="pathType" android:propertyName="pathData" />
<objectAnimator android:interpolator="@drawable/$$avd_anim__3__1" android:duration="617" android:startOffset="217" android:valueFrom="M-5.69 46.08 C-5.69,46.08 -0.03,42.82 -0.03,42.82 C-0.03,42.82 -5.69,39.55 -5.69,39.55 C-5.69,39.55 -5.69,46.08 -5.69,46.08c " android:valueTo="M48.82 61.37 C48.82,61.37 80.38,43.15 80.38,43.15 C80.38,43.15 48.82,24.93 48.82,24.93 C48.82,24.93 48.82,61.37 48.82,61.37c " android:valueType="pathType" android:propertyName="pathData" />
</set>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<set android:ordering="together"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<objectAnimator android:duration="2017" android:startOffset="0" android:valueFrom="0" android:valueTo="1" android:valueType="floatType" android:propertyName="translateX" />
</set>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<animated-vector android:drawable="@drawable/$avd_anim__0"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
<target android:name="_R_G_L_1_G_D_0_P_0" android:animation="@drawable/$avd_anim__1" />
<target android:name="_R_G_L_1_G_D_0_P_0" android:animation="@drawable/$avd_anim__2" />
<target android:name="_R_G_L_1_G_D_1_P_0" android:animation="@drawable/$avd_anim__3" />
<target android:name="time_group" android:animation="@drawable/$avd_anim__4" />
</animated-vector>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Base.Theme.YouTube.Launcher" parent="@style/Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowSplashScreenAnimatedIcon">@drawable/avd_anim</item>
<item name="android:windowSplashScreenAnimationDuration">1000</item>
</style>
</resources>

View File

@ -1698,6 +1698,7 @@ AVC (H.264) has a maximum resolution of 1080p, and video playback will use more
<string name="revanced_icon_revancify_blue">Revancify Blue</string>
<string name="revanced_icon_revancify_red">Revancify Red</string>
<string name="revanced_icon_youtube">YouTube</string>
<string name="revanced_icon_youtube_minimal_header">YouTube (Minimal header)</string>
<string name="revanced_label_default">Stock</string>
<string name="revanced_patches_excluded">Excluded</string>
<string name="revanced_patches_included">Included</string>

View File

@ -0,0 +1,25 @@
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="vector"
android:width="48dp"
android:height="48dp"
android:viewportWidth="432"
android:viewportHeight="432">
<path
android:name="path"
android:pathData="M 194.414 248.353 L 250.441 216.008 L 194.414 183.662 L 194.414 248.353 Z"
android:fillColor="?ytTextPrimary"
android:strokeWidth="1"/>
<path
android:name="path_1"
android:pathData="M 267.611 324.108 L 265.557 307.677 C 263.503 307.09 261.229 306.112 258.735 304.743 C 256.241 303.373 254.163 301.906 252.5 300.341 L 237.389 306.796 L 228 290.365 L 241.057 280.536 C 240.861 279.362 240.69 278.14 240.543 276.868 C 240.397 275.597 240.323 274.374 240.323 273.201 C 240.323 272.125 240.397 270.976 240.543 269.753 C 240.69 268.53 240.861 267.137 241.057 265.572 L 228 255.743 L 237.389 239.605 L 252.353 245.913 C 254.309 244.251 256.437 242.759 258.735 241.439 C 261.033 240.118 263.258 239.116 265.41 238.431 L 267.611 222 L 286.389 222 L 288.443 238.578 C 290.986 239.458 293.211 240.461 295.118 241.585 C 297.025 242.71 299.006 244.153 301.06 245.913 L 316.611 239.605 L 326 255.743 L 312.356 266.012 C 312.748 267.381 312.968 268.628 313.016 269.753 C 313.065 270.878 313.09 271.978 313.09 273.054 C 313.09 274.032 313.041 275.083 312.943 276.208 C 312.845 277.333 312.65 278.727 312.356 280.389 L 325.707 290.365 L 316.317 306.796 L 301.06 300.195 C 299.006 301.955 296.952 303.447 294.898 304.669 C 292.844 305.892 290.693 306.845 288.443 307.53 L 286.389 324.108 L 267.611 324.108 Z M 271.132 320 L 282.575 320 L 284.775 304.009 C 287.71 303.227 290.326 302.175 292.624 300.855 C 294.923 299.534 297.343 297.652 299.886 295.207 L 314.557 301.515 L 320.425 291.539 L 307.515 281.856 C 308.004 280.096 308.322 278.531 308.469 277.162 C 308.615 275.792 308.689 274.423 308.689 273.054 C 308.689 271.587 308.615 270.218 308.469 268.946 C 308.322 267.675 308.004 266.208 307.515 264.545 L 320.719 254.569 L 314.85 244.593 L 299.74 250.901 C 298.077 249.043 295.754 247.234 292.771 245.473 C 289.788 243.713 287.074 242.588 284.629 242.099 L 282.868 226.108 L 271.132 226.108 L 269.371 241.952 C 266.437 242.539 263.748 243.517 261.302 244.886 C 258.857 246.255 256.363 248.212 253.82 250.754 L 239.15 244.593 L 233.281 254.569 L 246.045 264.105 C 245.556 265.376 245.214 266.794 245.018 268.359 C 244.822 269.924 244.725 271.538 244.725 273.201 C 244.725 274.668 244.822 276.135 245.018 277.602 C 245.214 279.069 245.507 280.487 245.898 281.856 L 233.281 291.539 L 239.15 301.515 L 253.674 295.353 C 256.021 297.701 258.417 299.559 260.862 300.928 C 263.307 302.297 266.095 303.373 269.225 304.156 L 271.132 320 Z M 276.707 285.964 C 280.325 285.964 283.382 284.717 285.876 282.223 C 288.37 279.729 289.617 276.673 289.617 273.054 C 289.617 269.435 288.37 266.379 285.876 263.885 C 283.382 261.391 280.325 260.144 276.707 260.144 C 273.088 260.144 270.031 261.391 267.537 263.885 C 265.043 266.379 263.796 269.435 263.796 273.054 C 263.796 276.673 265.043 279.729 267.537 282.223 C 270.031 284.717 273.088 285.964 276.707 285.964 Z"
android:fillColor="?ytTextPrimary"
android:strokeColor="?ytTextPrimary"
android:strokeWidth="2.5"/>
<path
android:name="path_2"
android:pathData="M 319.151 164.576 C 316.666 155.291 309.369 147.995 300.085 145.509 C 283.273 141 215.83 141 215.83 141 C 215.83 141 148.388 141 131.576 145.509 C 122.291 147.995 114.995 155.291 112.509 164.576 C 108 181.388 108 216.485 108 216.485 C 108 216.485 108 251.582 112.509 268.394 C 114.995 277.679 122.291 284.975 131.576 287.46 C 148.388 291.97 215.83 291.97 215.83 291.97 C 215.83 291.97 216.28 291.97 217.117 291.967 C 216.745 289.998 216.462 287.998 216.275 285.97 L 215.83 285.97 C 215.83 285.97 152.14 285.97 136.264 281.819 C 127.496 279.532 120.605 272.815 118.258 264.268 C 114 248.793 114 216.485 114 216.485 C 114 216.485 114 184.177 118.258 168.702 C 120.605 160.155 127.496 153.439 136.264 151.151 C 152.14 147 215.83 147 215.83 147 C 215.83 147 279.52 147 295.396 151.151 C 304.164 153.439 311.055 160.155 313.401 168.702 C 317.643 184.177 317.66 216.485 317.66 216.485 C 317.66 216.485 317.66 221.285 317.416 228.071 C 319.456 229.543 321.405 231.133 323.255 232.829 C 323.661 223.535 323.661 216.485 323.661 216.485 C 323.661 216.485 323.643 181.388 319.151 164.576 Z"
android:fillColor="?ytTextPrimary"
android:strokeWidth="1"
android:fillType="evenOdd"/>
</vector>

View File

@ -5,14 +5,9 @@
android:height="48dp"
android:viewportWidth="960"
android:viewportHeight="960">
<group
android:scaleX="0.5"
android:scaleY="0.5"
android:pivotX="480"
android:pivotY="480">
<path
android:name="path"
android:pathData="M 395.769 531.077 L 427.923 427.313 L 344.461 367.461 L 447.169 367.461 L 480 260 L 511.831 367.461 L 615.539 367.461 L 532.846 427.313 L 564 531.077 L 479.996 467 L 395.769 531.077 Z M 281.692 858.462 L 281.692 596.769 Q 240.538 557.462 220.269 506.077 Q 200 454.692 200 400 Q 200 282.461 281.231 201.231 Q 362.461 120 480 120 Q 597.539 120 678.769 201.231 Q 760 282.461 760 400 Q 760 454.692 739.731 506.077 Q 719.462 557.462 678.308 596.769 L 678.308 858.462 L 480 798.665 L 281.692 858.462 Z M 479.91 649.231 Q 584.385 649.231 656.808 576.898 Q 729.231 504.566 729.231 400.091 Q 729.231 295.615 656.898 223.192 Q 584.566 150.769 480.09 150.769 Q 375.615 150.769 303.192 223.102 Q 230.769 295.434 230.769 399.909 Q 230.769 504.385 303.102 576.808 Q 375.434 649.231 479.91 649.231 Z M 312.461 817.539 L 480 766.385 L 647.539 817.539 L 647.539 622.693 Q 611.385 651.693 568.077 665.846 Q 524.769 680 480 680 Q 435.231 680 391.923 665.846 Q 348.615 651.693 312.461 622.693 L 312.461 817.539 Z M 480 720 Z"
android:fillColor="?ytTextPrimary" />
</group>
<path
android:name="path"
android:pathData="M 311.822 665 C 304.654 665 299.559 661.797 296.536 655.39 C 293.512 648.983 294.203 642.976 298.608 637.37 L 439.16 466.786 L 439.16 311.818 L 403.121 311.818 C 400.738 311.818 398.74 311.009 397.126 309.392 C 395.517 307.778 394.712 305.776 394.712 303.385 C 394.712 300.998 395.517 299.004 397.126 297.403 C 398.74 295.801 400.738 295 403.121 295 L 556.887 295 C 559.27 295 561.266 295.809 562.876 297.427 C 564.489 299.04 565.296 301.043 565.296 303.433 C 565.296 305.82 564.489 307.814 562.876 309.416 C 561.266 311.017 559.27 311.818 556.887 311.818 L 520.848 311.818 L 520.848 466.786 L 661.4 637.37 C 665.805 642.976 666.496 648.983 663.472 655.39 C 660.449 661.797 655.354 665 648.186 665 L 311.822 665 Z M 359.874 624.156 L 600.134 624.156 L 518.446 528.052 L 441.562 528.052 L 359.874 624.156 Z M 311.822 648.182 L 648.186 648.182 L 504.03 472.792 L 504.03 311.818 L 455.978 311.818 L 455.978 472.792 L 311.822 648.182 Z"
android:fillColor="?ytTextPrimary"
android:strokeWidth="1"/>
</vector>