feat(YouTube/Shorts overlay buttons) Shorts outline icons (#33)

* feat(YouTube/Shorts overlay buttons) New outline icons for Shorts

* fix(YouTube/Shorts overlay buttons) Shorts outline icons for older versions
This commit is contained in:
Aaron Veil 2023-10-31 13:44:06 +03:00 committed by GitHub
parent 742ff54812
commit 4ea4ed615d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 38 additions and 1 deletions

View File

@ -121,7 +121,24 @@ object OverlayButtonsPatch : ResourcePatch() {
"yt_outline_arrow_repeat_1_white_24.png", "yt_outline_arrow_repeat_1_white_24.png",
"yt_outline_arrow_shuffle_1_white_24.png", "yt_outline_arrow_shuffle_1_white_24.png",
"yt_outline_screen_full_exit_white_24.png", "yt_outline_screen_full_exit_white_24.png",
"yt_outline_screen_full_white_24.png" "yt_outline_screen_full_white_24.png",
// Shorts outline icons
"ic_right_like_off_shadowed.webp",
"ic_right_dislike_off_shadowed.webp",
"ic_right_comment_shadowed.webp",
"ic_right_share_shadowed.webp",
"ic_remix_filled_white_24.webp",
"ic_remix_filled_white_shadowed.webp"
),
// Shorts outline icons for older versions of YouTube
ResourceUtils.ResourceGroup(
"drawable",
"ic_right_like_off_32c.xml",
"ic_right_dislike_off_32c.xml",
"ic_right_comment_32c.xml",
"ic_right_share_32c.xml"
) )
).forEach { resourceGroup -> ).forEach { resourceGroup ->
context.copyResources("youtube/overlaybuttons/outline", resourceGroup) context.copyResources("youtube/overlaybuttons/outline", resourceGroup)

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M 8.5 16 h 11 v -0.98 h -11 v 0.98 z M 8.5 11 h 14.98 v -0.98 h -14.98 v 0.98 Z M 28.17 27.01 L 24.06 22.78 H 5.72 Q 4.81 22.78 4.215 22.185 T 3.62 20.68 V 6.12 Q 3.62 5.21 4.215 4.615 T 5.72 4.02 H 25.88 Q 26.79 4.02 27.385 4.615 T 27.98 6.12 V 26.7 Z M 5.72 21.8 H 24.48 L 27 24.32 V 6.12 Q 27 5.7 26.65 5.35 T 25.88 5 H 5.72 Q 5.3 5 4.95 5.35 T 4.6 6.12 V 20.68 Q 4.6 21.1 4.95 21.45 T 5.72 21.8 Z M 4.6 21.8 V 5 V 21.8 Z" android:fillAlpha="0.95" android:fillType="evenOdd" />
</vector>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M 8.38 3.89 h 13.65 v 14.56 L 13.56 26.78 l -0.28 -0.28 q -0.175 -0.175 -0.2975 -0.4375 T 12.86 25.59 v -0.14 l 1.4 -7 H 4.32 q -0.805 0 -1.4525 -0.6475 T 2.22 16.35 v -1.4 q 0 -0.175 0.035 -0.385 t 0.105 -0.385 l 3.71 -8.82 q 0.28 -0.63 0.945 -1.05 t 1.365 -0.42 Z m 12.67 0.98 H 8.38 q -0.385 0 -0.7875 0.21 T 6.98 5.78 L 3.2 14.67 v 1.68 q 0 0.49 0.315 0.805 t 0.805 0.315 h 11.13 l -1.54 7.63 l 7.14 -7.07 v -13.16 Z m 0 13.16 v -13.16 v 13.16 Z m 0.98 0.42 v -0.98 h 4.97 v -12.6 H 22.03 v -0.98 h 5.95 v 14.56 H 22.03 Z" android:fillAlpha="0.95" android:fillType="evenOdd" />
</vector>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M 22.72 25.98 H 9.07 v -14.56 l 8.47 -8.33 l 0.28 0.28 q 0.175 0.175 0.2975 0.4375 T 18.24 4.28 v 0.14 l -1.4 7 h 9.94 q 0.805 0 1.4525 0.6475 T 28.88 13.52 v 1.4 q 0 0.175 -0.035 0.385 t -0.105 0.385 L 25.03 24.51 q -0.28 0.63 -0.945 1.05 t -1.365 0.42 Z m -12.67 -0.98 h 12.67 q 0.385 0 0.7875 -0.21 t 0.6125 -0.7 l 3.78 -8.89 v -1.68 q 0 -0.49 -0.315 -0.805 t -0.805 -0.315 H 15.65 l 1.54 -7.63 l -7.14 7.07 v 13.16 Z m 0 -13.16 v 13.16 v -13.16 Z m -0.98 -0.42 v 0.98 H 4.1 v 12.6 h 4.97 v 0.98 H 3.12 v -14.56 h 5.95 Z" android:fillAlpha="0.95" android:fillType="evenOdd" />
</vector>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="32.0dip" android:width="32.0dip" android:viewportWidth="32.0" android:viewportHeight="32.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M 9.02 28.78 q -0.91 0 -1.505 -0.595 t -0.595 -1.505 v -13.16 q 0 -0.91 0.595 -1.505 t 1.505 -0.595 h 2.59 v 0.98 h -2.59 q -0.42 0 -0.77 0.35 t -0.35 0.77 v 13.16 q 0 0.42 0.35 0.77 t 0.77 0.35 h 14.56 q 0.42 0 0.77 -0.35 t 0.35 -0.77 v -13.16 q 0 -0.42 -0.35 -0.77 t -0.77 -0.35 h -2.59 v -0.98 h 2.59 q 0.91 0 1.505 0.595 t 0.595 1.505 v 13.16 q 0 0.91 -0.595 1.505 t -1.505 0.595 H 9.02 Z m 6.79 -8.89 v -15.12 l -3.15 3.15 l -0.7 -0.7 l 4.34 -4.34 l 4.34 4.34 l -0.7 0.7 l -3.15 -3.15 v 15.12 h -0.98 Z" android:fillAlpha="0.95" android:fillType="evenOdd" />
</vector>