-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Improve playback parameter dialog's UI #7989
Improve playback parameter dialog's UI #7989
Conversation
Nice work! By the way, would it be possible to collapse the 2 checkboxes into one line similar to |
@karyogamy |
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.
Used more containers in the UI so that we don't have to do everything inside the code
This is not good for performance afaik, but if we don't migrate to ConstraintLayout
(which has view groups) there is no alternative (so nothing to do)
app/src/main/java/org/schabi/newpipe/player/helper/PlayerSemitoneHelper.java
Outdated
Show resolved
Hide resolved
app/src/main/java/org/schabi/newpipe/player/helper/PlaybackParameterDialog.java
Outdated
Show resolved
Hide resolved
Thank you for the review!
So I quickly googled why
TL;DR |
Yes, I do agree it shouldn't be done here, and I do agree there is no big need to spend time on it. It's just something worth noting in my opinion, since |
|
I resolved the conflict directly here on github and it resulted in that not really helpful commit message "Merge branch 'dev'". Can you clean that up please litetex? This should be ready to merge. |
Kudos, SonarCloud Quality Gate passed! |
* Removed/Renamed methods * Use ``IcePick`` * Better structuring * Keep skipSilence when rotating the device (PlayQueueActivity only)
* De-Duplicated some fields * Use a container for the pitch controls * Name pitch related elements correctly
* Add support for semitones * Fixed some minor bugs * Improved some methods
Using an expandable Tab-like component instead of a combobox
From the PR review
0c1b282
to
a311519
Compare
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.
I tested and it works well. Thank you!
PlaybackParameterDialog
hey! is this reverted in v0.24.1 ?? I was unable to see the rectangular dashed border around currently selected playback speed selector/speed adjustment step size buttons in that version, while it's there in v0.23.3 Trail/please ignore
Failed gh pulls 🔍 : |
I can see it just fine. Maybe your OS colours are different? |
i just rechecked, and yeah, it was present there.... though it was very faint due to low resolution and small screen size of the device i saw that on. |
What is it?
Backstory
PlaybackParameterDialog
Description of the changes in your PR
Icepick
instead of saving everything manuallyBefore/After Screenshots/Screen Record
Before:
After:
NPPlaybackDialogDemo1.mp4
Fixes the following issue(s)
PlaybackParameterDialog
#7960APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence