-
-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(youtube/custom-branding): use highest resolution adaptive icons #1576
fix(youtube/custom-branding): use highest resolution adaptive icons #1576
Conversation
Visual size matches ReVanced Manager. Adaptive images are Created from ReVanced png logo on github
It seems like the size is a bit off, here are the resources for the ReVanced logo with source and SVG files as reference: revanced-brand-identity.zip. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the size is a bit off, here are the resources for the ReVanced logo with source and SVG files as reference: revanced-brand-identity.zip.
This first iteration I made the icon the same size as ReVanced Manager:
I could revert the second change, and use this first change only.
Of note, ReVanced Manager also is using the wrong icon sizes (Manager is using 192px for xxxhdpi, when it should be 432px).
While it might look personally better, we should remain consistent with branding. There will soon be a logo poll that will allow for minor adjustments like your personal opinion before finalization, but in favour of brand consistency, it is currently required for the logo to match the exact size of the original logo. |
…-logo-no-background.svg
I believe the right one is the patched YouTube app. If so, this PR is ready for merge |
Yes that is correct. Merge away. Should I do another PR to update the adaptive icons for the manager? It's has the same low resolution adaptive icons, which is why it looks a little blurry in these screenshots. |
That sounds reasonable to me. Currently there is also the repo for the compose ReVanced Manager app, which might be relevant as well. |
Thanks! |
# [2.159.0-dev.1](ReVanced/revanced-patches@v2.158.0...v2.159.0-dev.1) (2023-01-31) ### Bug Fixes * **youtube/custom-branding:** use high resolution adaptive icons ([#1576](ReVanced/revanced-patches#1576)) ([c3ae750](ReVanced/revanced-patches@c3ae750)) ### Features * **music:** bump patches compatibility to v5.41.50 ([#1551](ReVanced/revanced-patches#1551)) ([c456e45](ReVanced/revanced-patches@c456e45)) * **spotify-lite:** enable on-demand patch ([9f0de4f](ReVanced/revanced-patches@9f0de4f))
@oSumAtrIX the edge of the changed logo is not correct :) |
Yep, I noticed already, will have to be fixed before merge to main |
The image is stacked together with the background PNG, so it should never be seen individually. I will recreate using a variable alpha layer. Is there a reason for both a foreground and background image? Why not use just 1 image? |
Iirc thats an Android specification. |
I think everything was fine on last version Mistakenly it was a little small compare to others |
I recreated them all using edit: new PR: ReVanced/revanced-patches#1580 |
Ok, whatever |
The screenshot I posted is my device that uses xxxhdpi. Maybe the GitHub visual diff makes them look a different ratio to each other, but that's the right size to match the Manager. |
The ReVanced Manager app is also using wrong icon sizes, you should not match against it |
The main icon (from branding zip) is not correctly aligned tho. (my 600% zoom -_- ) |
@kazimmt it is aligned, you can check the source file or inspect the svg path to confirm. |
@LisoUseInAIKyrios Why is a scaling required at all? Can't the svg directly be used as the logo? |
Check Discord. I've already post the ss about alignment error. |
I changed the adaptive foreground to match the SVG and it's checked in on ReVanced/revanced-patches#1580 Ideally, any future ReVanced SVG logo changes would use the same padding ratios (1/6th padding on each side) |
@LisoUseInAIKyrios I see the motivation behind using an 1/6th padding ratio, though if we would use that, the full logo would look off. The original padding of the shape in the logo project file was used in the shape svg file in order to correctly match in size with the full logo svg. Does that sound reasonable? |
Then there's no strong reason to change the padding of the original SVG's. When exporting the icons Its easy to adjust the padding before exporting the SVG to PNG's. |
@LisoUseInAIKyrios why not we include the gradient background also? |
You mean like this? Is this the correct behavior? It's forcing the circle, even though the device is cutting it into a different shape. |
Maybe padding a little more Btw it's my personal preference |
It's the 'cylinder' shape from stock Android 12 launcher. Yeah it's an oddball. |
Please PR or open an issue regarding this. @kazimmt |
@oSumAtrIX i think icon pack also matters |
In that case, the gradient should not be added. |
Maybe there is another way |
What exactly was in that icon test pack? |
It's ReVanced Manager -- |
I agree |
Needs test on Memeui (MIUI) & Other OS too |
Time to move to ReVanced/revanced-manager#675 and ReVanced/revanced-patches#1580. Thanks! |
# [2.159.0-dev.1](ReVanced/revanced-patches@v2.158.0...v2.159.0-dev.1) (2023-02-01) ### Bug Fixes * **youtube/custom-branding:** correct margins and background image ([#1580](ReVanced/revanced-patches#1580)) ([8db2405](ReVanced/revanced-patches@8db2405)) * **youtube/custom-branding:** use high resolution adaptive icons ([#1576](ReVanced/revanced-patches#1576)) ([c3ae750](ReVanced/revanced-patches@c3ae750)) ### Features * **music:** bump patches compatibility to v5.41.50 ([#1551](ReVanced/revanced-patches#1551)) ([c456e45](ReVanced/revanced-patches@c456e45)) * **spotify-lite:** enable on-demand patch ([9f0de4f](ReVanced/revanced-patches@9f0de4f))
I fixed the tiny app icon, and also increased the size of the adaptive images to the full resolution (108px, 162px, 216px, 324px, 432px)
I did this using the original high resolution image here on GitHub. By coincidence, it was the ideal size.
I also updated the old legacy ic_launcher.png and ic_launcher_round.png, although I don't think those are ever used because Android 8 uses the adaptive icons (and YouTube requires Android 8 or higher).
Before:
After: