Draggable view is not working as expected in minimized state when moving left or right. #20
Comments
Can you upload any screenshot or video to show this problem? I'm not able to reproduce it. |
Sure. Here is the link of video i am facing problem http://tinypic.com/player.php?v=289wjo7%3E&s=8#.VGLjdMluVlM
|
@manpreetsinghsodhi can you take a look at https://github.com/pedrovgs/DraggablePanel/tree/fix-horizontal-drag-problems I've been working to improve horizontal drag implementation and it seems to work again in this branch :) Once you validate this branch I will release this feature to 1.4 version |
Hi Pedrovgs, |
Can you upload a video with that movement? Thanks!
|
Here is the link of video . Please have a look. Thanks ! |
in edit: ...
if (xVel < 0 && xVel <= -X_MIN_VELOCITY) {//the mising "-" before (Y_MIN_VELOCITY) caused this bug
draggableView.closeToLeft();
}
... |
Thanks to @Fiddl3 I've found the bug \o/. @manpreetsinghsodhi can you review if it's working fine for you? |
@manpreetsinghsodhi can you review if this branch is working fine for you and fixes the bug related to the horizontal drag? I'd like to integrate this branch and release a new version :) |
Fixed SecondView positionig in Maximized State Fixed Preview in Android Studio (DraggablePanel should be treated as RelativeLayout) ex: layout\activity_tv_shows_sample.xml Fixed horizontal drag issues
Hi ,yes it is working fine now . Thanks @pedrovgs and fiddle :) |
\o/ @manpreetsinghsodhi I'll merge that branch and generate a new release asap. Thanks for your help! |
Fix horizontal drag problems for issue #20
Hi, when i drag view in left or right in minimized form then vedio is not behaving or moving properly.
I tried to do some changes in viewcallback class but not working my way.
It is not going smooth for me i.e on dragging right the view is going completely left.
I checked your app on play store, there it is working fine but when i run your sample app i am facing these issues.
Moreover when view is dragged to minimized state then it got some margins in left and right in every vedio.
Please help me resolve this issue.
Thanks
The text was updated successfully, but these errors were encountered: