I need to minimize a Imageview like as youtube in right corner of screen in an application, but i do not know how to create it, use any library or not?
You can find the library here:
https://github.com/pedrovgs/DraggablePanel
you can so so using ViewDragHelper
.
A nice implementation can be found at http://old.flavienlaurent.com/blog/2013/08/28/each-navigation-drawer-hides-a-viewdraghelper/,
look at "A REAL EXAMPLE, THE YOUTUBE WHILE PLAYING LAYOUT" section
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With