Skip to content
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

feat(YouTube - Settings): Add icons to the ReVanced settings #4496

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

MarcaDian
Copy link
Contributor

@MarcaDian MarcaDian commented Feb 23, 2025

After

Screenshot_2025-02-23-09-57-21-549_app revancede android youtube-edit

@LisoUseInAIKyrios
Copy link
Contributor

The YouTube brand guidelines does not mention Shorts or the Shorts logo, so it's unclear if permission is needed to use a Shorts icon.

https://www.youtube.com/howyoutubeworks/resources/brand-resources

# Conflicts:
#	patches/src/main/kotlin/app/revanced/patches/youtube/misc/settings/SettingsPatch.kt
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_00_about.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_01_ads.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_02_alt_thumbnails.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_03_feed.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_04_general.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_05_player.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_06_shorts.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_07_seekbar.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_08_swipe_controls.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_11_misc.xml
#	patches/src/main/resources/settings/drawable/revanced_settings_screen_12_video.xml
@MarcaDian
Copy link
Contributor Author

I took the Shorts icon from some site and edited it to size. It is not in the Google icon repository. In fact, it is custom icon.

@LisoUseInAIKyrios
Copy link
Contributor

Their brand guidelines apply to custom graphics as well. The question is if the Shorts logo needs permission to use.

@MarcaDian
Copy link
Contributor Author

I think it's better to add Copyright than to decide if it is necessary or not.

@LisoUseInAIKyrios
Copy link
Contributor

LisoUseInAIKyrios commented Feb 23, 2025

https://en.m.wikipedia.org/wiki/File:Youtube_shorts_icon.svg

Wikipedia lists the vector icon file as public domain, but with a caution that it might be trademarked.

Searching the USPTO website shows that "YouTube Shorts" is trademarked:
https://tsdr.uspto.gov/#caseNumber=90980684&caseSearchType=US_APPLICATION&caseType=DEFAULT&searchType=statusSearch
https://tsdr.uspto.gov/#caseNumber=90313243&caseSearchType=US_APPLICATION&caseType=DEFAULT&searchType=statusSearch

But the trademark does not include a wordmark or logo. For reference the YouTube logo and wordmark is trademarked

So, maybe it's ok to modify and use the public domain vector icon.

@kitadai31
Copy link
Contributor

Can't it depend on the app's native icon resources?
@drawable/yt_outline_youtube_shorts_black_24 and @drawable/yt_outline_youtube_shorts_white_24 exist

@LisoUseInAIKyrios
Copy link
Contributor

If that built in icon matches the line width of the other icons (or the other icons can be adjusted to match the built in icon), then using that would be best.

But I think using the icon already here might be ok too

@LisoUseInAIKyrios LisoUseInAIKyrios marked this pull request as ready for review February 23, 2025 14:50
@MarcaDian
Copy link
Contributor Author

If necessary, it is also possible to add icons to the submenus, but it seems to me that this goes beyond the design code of the YouTube settings.

Although, for example, hiding buttons for the user would be intuitive as to which button would be hidden.

@LisoUseInAIKyrios
Copy link
Contributor

I think icons for only some submenu items but not for other items would look out of place.

The hide action and navigation buttons are the only settings that an icon might help, but I think it's easy to understand what those settings do just from the setting title text.

@MarcaDian
Copy link
Contributor Author

MarcaDian commented Feb 23, 2025

What if change Shorts icon to this. I also made some another variants.
I think it's better not to risk, it's just an icon in settings, and even a branded icon doesn't show the essence of this setting.

IMG_20250223_225947.jpg

@LisoUseInAIKyrios
Copy link
Contributor

Looks good, but maybe remove the gear icon. The Shorts settings are less like the video settings and more like the player (which has no gear).

@MarcaDian
Copy link
Contributor Author

but maybe remove the gear icon

Ok, it was a second variant =)

@MarcaDian
Copy link
Contributor Author

MarcaDian commented Feb 23, 2025

animated images

But it is not available in the GitHub repository... Found

image

@oSumAtrIX
Copy link
Member

There's multiple considerations with this PR

  • The icons don't comply with the design language of YouTube settings
  • If the design language is broken, then break it as little as possible and use the icon set used in the design language, no custom icons
  • Trademarked icons like the Shorts icon are probably fine. Maybe there's a way to request rights, similar to how we did it for the YouTube logo on our website and GitHub organization readme. Maybe certain usage doesn't require rights, such as free-use

@MarcaDian
Copy link
Contributor Author

MarcaDian commented Feb 24, 2025

I tried to choose icons more appropriate to the context of the menu item.
But not all necessary icons are in the Google icon library. In any case, if anyone don't like them, can turn them off in the settings.
Perhaps someone has suggestions to change some unsuitable icon.

But IMHO, at the moment, Google has a poor taste in the design code in the YouTube settings, some icons are simply terrible.

@LisoUseInAIKyrios
Copy link
Contributor

These icons could be default off, so users need to opt in to see them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants