Android Question Vertical Sliding Panel

German Buchmuller

Member
Licensed User
Longtime User
Hi, I couldnt get this to work. I need a panel that can be slided vertically, and goes to a max top of 60%y for example. The following image shows what I need. The Panel that slides vertically is the blue one which says Transactions.
WhatsApp Image 2020-07-23 at 13.11.05.jpeg

I tried to implement it with the Panel_Touch event with no success. Could someone help me how to implement this event properly, so that when the user touches this blue panel, it follows his finger and when he releases it, it automatically goest to the max top (60%y) or to the bottom? Thanks.
 

Alexander Stolte

Expert
Licensed User
Longtime User
What you need is a Draggable Bottom Card. I made a lib. for this, but I haven't published it yet.
i have published sample code, but this is not as mature as my lib. but this should be enough for a thought-provoking:
 
Upvote 0

German Buchmuller

Member
Licensed User
Longtime User
What you need is a Draggable Bottom Card. I made a lib. for this, but I haven't published it yet.
i have published sample code, but this is not as mature as my lib. but this should be enough for a thought-provoking:
Thank you very much! It is just what I was looking for. Works like a charm!.
 
Upvote 0
Top