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

Player overlays now centered #4360

Merged
merged 2 commits into from
Oct 2, 2020
Merged

Conversation

avently
Copy link
Contributor

@avently avently commented Oct 1, 2020

What is it?

  • Bug fix (user facing)

Description of the changes in your PR

Overlays were off-centered before this PR. By overlays I mean volume slider, brightness slider, loading icon, etc. Now it's fixed.
Also excluded play/prev/next buttons from swipe interception so now it's not possible to drag them up/down with expectation to drag the whole player.
If you'll find any issue, please, fix it yourself or just drop the PR because waiting of the fix from my side will take months. Thank you for understanding.

P.s. so many changes in player.xml in diff view but actually it's just the overlays were included into top level relativelayout to be able to position them via one assigment of paddings. For review it's easier to open previous player.xml and new player.xml side-by-side.

Fixes the following issue(s)

#4332 (comment)

Testing apk

overlays.zip

Agreement

@avently avently mentioned this pull request Oct 1, 2020
@opusforlife2
Copy link
Collaborator

Confirmed! Thanks a lot!

So instead of those 3 blocks of code you made a for loop.

@opusforlife2 opusforlife2 added bug Issue is related to a bug player Issues related to any player (main, popup and background) labels Oct 1, 2020
@opusforlife2 opusforlife2 mentioned this pull request Oct 2, 2020
5 tasks
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good to me, thank you :-D

Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @avently. You are an absolute machine!

@TobiGr TobiGr merged commit 794c74e into TeamNewPipe:dev Oct 2, 2020
@opusforlife2
Copy link
Collaborator

You approved these changes after merging as well? You reeeeeally like the code, it seems. :P

ShareASmile added a commit to ShareASmile/NewPipe-Legacy-Revo that referenced this pull request Jun 16, 2024
reorder the Control Elements of the background player (putting the Title down) TeamNewPipe/NewPipe#6824
Fixes: TeamNewPipe/NewPipe#6788
TeamNewPipe/NewPipe#2931

new icons in background player by avently commit

made image view from playQueue visible by avently in commit
TeamNewPipe/NewPipe@dd726fa#diff-EFCAA05775EEBAE5D5E7D3DD8FB04196
from TeamNewPipe/NewPipe#4360

Co-Authored-By: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com>
Co-Authored-By: wb9688 <46277131+wb9688@users.noreply.github.com>
Co-Authored-By: phigjm <39876427+phigjm@users.noreply.github.com>
ShareASmile added a commit to ShareASmile/FoxPipe that referenced this pull request Jun 16, 2024
Reorder the Control Elements of the background player (putting the Title down) TeamNewPipe/NewPipe#6824
Fixes: TeamNewPipe/NewPipe#6788
TeamNewPipe/NewPipe#2931

new icons in background player by avently commit in v0.20.0

made image view from playQueue visible by avently in commit
TeamNewPipe/NewPipe@dd726fa#diff-EFCAA05775EEBAE5D5E7D3DD8FB04196
from TeamNewPipe/NewPipe#4360

Co-Authored-By: phigjm <39876427+phigjm@users.noreply.github.com>
Co-Authored-By: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com>
ShareASmile added a commit to ShareASmile/NewPipe-Legacy-Revo that referenced this pull request Jul 14, 2024
reorder the Control Elements of the background player (putting the Title down) TeamNewPipe/NewPipe#6824
Fixes: TeamNewPipe/NewPipe#6788
TeamNewPipe/NewPipe#2931

new icons in background player by avently commit

made image view from playQueue visible by avently in commit
TeamNewPipe/NewPipe@dd726fa#diff-EFCAA05775EEBAE5D5E7D3DD8FB04196
from TeamNewPipe/NewPipe#4360

Co-Authored-By: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com>
Co-Authored-By: wb9688 <46277131+wb9688@users.noreply.github.com>
Co-Authored-By: phigjm <39876427+phigjm@users.noreply.github.com>
ShareASmile added a commit to ShareASmile/NewPipe-Legacy-Revo that referenced this pull request Jul 14, 2024
reorder the Control Elements of the background player (putting the Title down) TeamNewPipe/NewPipe#6824
Fixes: TeamNewPipe/NewPipe#6788
TeamNewPipe/NewPipe#2931

new icons in background player by avently commit

made image view from playQueue visible by avently in commit
TeamNewPipe/NewPipe@dd726fa#diff-EFCAA05775EEBAE5D5E7D3DD8FB04196
from TeamNewPipe/NewPipe#4360

Co-Authored-By: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com>
Co-Authored-By: wb9688 <46277131+wb9688@users.noreply.github.com>
Co-Authored-By: phigjm <39876427+phigjm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug player Issues related to any player (main, popup and background)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants