-
-
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
Add a secondary control panel to video detail fragment #4534
Conversation
That looks great! |
Still not as good as the top menu bar that existed before v0.20. What was the reason for removing it, anyway? Way too much space is occupied just by two buttons, look at all that emptiness between them. My suggestion for improving this is to put icons and text in the same row. This doesn't fix another regression introduced in 0.20: previously top menu bar also contained video quality selection, which is now inaccessible without starting playback first. As I said here #4039 (comment) ,
|
Yes! My beloved Share button! It is so good to tap you again! |
@nbmrjuhneibkr There is a Limit quality setting for mobile data, no? (I feel like this has been discussed before.) |
Didn't we agree on a swipeable thingy? Imho this implementation wastes to much space (based on looking at the screenshot). |
I think that will be fixed by adding more buttons. |
There is, but it is a global setting that automatically applies to all videos. You can't deny that previous implementation offered more choice to the user. |
First of all, thank you for trying to find a solution for this problem. |
This solution is great too. The only thing that needs to be done is a horizontal scroll view. Or similar thing that allows pages like android launcher |
What about shifting the 4 action buttons to the left slightly and reducing the space between them, to make space for an expandable arrow button like we have for the description? It could be of the same size as the description arrow. |
In some ways this is better, because the buttons are placed lower making them more accessible and easy to reach compared to the action bar in 0.19.8 and older. That empty space you mentioned could be used to readd the quality selector, what do you think ? |
Having too many collapsible UI elements looks clumsy. I'd go for the swipeable solution as discussed earlier this week. (we really need the tours....) |
I don't think there is too much emptiness between them, at the end of the day even if some space is wasted, that happens only when the description is open, and it would not bother otherwise
I agree this should be fixed, and I will fix it by making use of this same menu, just not in this PR ;-)
As I said that would be a nightmare to implement, due to too many nested views listening for scrolls and touches. Also, adding a quality selector to a scrollable layout would just look bad, while making space for it in the current layout would not be a problem.
I don't think that's a viable solution, as it would require removing the very-used download button and making that part of the ui asymmetric, which would probably look bad.
Mmmh ok, if you all agree that's the way to go then I will try implementing it, though I don't know if I will manage to yield a great result |
@Stypox Very Nice :D As for suggestions - It would be nice to have the two buttons exposed all the time. Also I saw that you would also be adding the resolution selection in the new area :) So exposing it always would make it easier to use. In regards to swiping gestures, you would need a clear visual indication of the feature which would mean hiding the the download button :( |
Pushing the description down doesn't affect usability imho. Because it's hidden by default. |
What do you think about making the description a tab, side by side with comments and related streams? |
@Stypox Would have to see a mock up or test apk to decide. |
825a07e
to
08f04f8
Compare
I moved the description to a tab and I really like this solution. What do you all think? app-debug.zip |
The description tab could even contain more information, such as the meta information added by @TobiGr and the various other metadata provided by services |
Initial impression: I like it. But if we are going this route, then we absolutely must have tab headers, just like the Main Activity. Description should be the first tab. |
@daufinsyd that's unrelated from this PR and was changed recently, after unified ui merged the player with the details view. So now for videos only one of "Video player" and "Show info" will be shown based on the autoplay setting |
08f04f8
to
4046b35
Compare
Rebased, new apk: app-debug.zip |
Using it since 3 days (mainly listening to music in background), sharing to/from other apps, using queues and other stuff. Seems pretty stable to me. I'll come back if I find a bug. |
I tested everything on phones, tablets and a TV emulator. Works great! However, I did not run an Android 4.4 emulator yet and I'd like to review the code one last time. There is a small bug on TVs which allows to select items of the minimized player when the video description tab is shown and one is switching from the description to the related videos and vice versa. However, I cannot reproduce it in reliably and thus provide no further info. Suggestion for a later update: when the next and related videos are hidden and tablets / TV, move the "share" and "open in browser" buttons in the first (and thus only) row next to the download button. |
b04ed34
to
e43c967
Compare
It is shown when the user expands the description It contains share, open in browser and play in kodi
e43c967
to
3868243
Compare
@TobiGr I rebased again (it was tough, this time) and added an animation for the secondary controls toggle dropdown button. |
…trols Add a secondary control panel to video detail fragment
What is it?
Description of the changes in your PR
This PR also removes the description from then dropdown menu and moves it to a tab alongside related streams and comments.
Since tabs were difficult to find out about in the previous version, since some small and almost invisible dots were shown, this PR changes the look of the bottom tab layout.
TODO
TooltipText
s to thetabView
sFixes the following issue(s)
Fixes #4039
APK testing
@opusforlife2 @Younes-L @sanityormadness @WeAreJMJ @nbmrjuhneibkr @cyber199 could you test this apk? Would it suit you?
app-debug.zip
Due diligence