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

fix(YouTube - Bottom buttons): Adjust bottom buttons layout #3312

Closed
wants to merge 1 commit into from

Conversation

MarcaDian
Copy link
Contributor

Fixes the clicking effect of the bottom buttons by adding the layout_marginBottom attribute (I think 6.0dip will be fine, see screenshots).
Resizes the button's container to fit better relative to each other to somewhat prevent the stacking effect on other elements (60x60 originally, 48x48 now).
It should also be noted that in YouTube 19.09+ fullscreen_button has been moved from youtube_controls_bottom_ui_container to other layouts, so it is necessary to change the attributes for them.

Before

IMG_20240607_132930

After

IMG_20240607_132949

@oSumAtrIX
Copy link
Member

Why does the incorrect margin happen to begin with?

@MarcaDian
Copy link
Contributor Author

i have this problem on the original youtube 19.22.34 and since the first use of revanced.

IMG_20240607_145506

@oSumAtrIX
Copy link
Member

oSumAtrIX commented Jun 7, 2024

In that case, this should be first reported to YouTube and fixed by them. The patch is overly complex for a minuscule gain. Thanks regardless. Also, to avoid work like this being closed, please always open an issue for discussion first as described in the contribution guidelines.

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.

2 participants