-
-
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
[Discussion] Show video details in landscape with swipe-up gesture (middle of screen) same as menu long click #4505
Comments
You can swipe up on the full screen button for the same effect. avently actually implemented this for the play/pause/next/previous buttons as well, but that was removed after discussion in the RC thread. Also, the fact that you didn't know this means you read neither the release notes nor the blog post. :( |
@vkay94 yeah, it's quite hard to do in a correct way (via swipe, not via button like I did). Your solution with real swipe still would be much better. Even if it is hard to implement. |
I know that but this fullscreen button is only visible if the device is locked, so in auto-rotate you can't do scroll to the details (that's the point). The arrow-long-press-gesture isn't mentioned anywhere as I've seen, have you?
@avently That's no problem at all also detecting for
To admit, as it seems, it isn't :') The real problem is the order. Touch interception handling in |
Since it's the first which receive the touch it will be the last who can allow to react on it. Like in any other situation when we intercepting touches inside custombottomsheetbehavior. Didn't see a problem you mentioned |
Yeah, that's correct, but when it returns I give it a last try (just for my ambition haha) - I've already something in mind ... |
@vkay94 I didn't know about it myself. :| |
Hey guys, this is no enhancement issue but a discussion of a behavior idea.
Somewhere in #4332 there was a short discussion whether to use the middle part of the screen in fullscreen/landscape (left for volume, right for brightness, middle for swipe/fling to video details) or not. Unfortunately it is a pretty mess to make this fling gesture to work (interception stuff bla bla).
During researching the code base I found that in
VideoDetailsFragment
there is also this kind of feature already (to be honest it's too hidden): If you long press on the menu arrow - next to resolution and speed button - , then the layout flings down automatically.This callback can be used to call it within
onScroll
with positivedistanceY
. The 'problem' here is,that it isn't a real fling gesture, more like a gesture to 'make it appear' / call theonMoreOptionsLongClicked
method.What do you think? Would it be enough to be implemented or not? (It just doesn't feel completed ...)
The text was updated successfully, but these errors were encountered: