F FrankBerra Active Member Licensed User Longtime User Oct 1, 2016 #1 Hi all I created an app with a sliding panel that comes in from the left of the screen when i press a button and hides when i press the button again. It is like a menu implemented on many apps. Now i want to make that panel draggable by finger so i can hide it by swiping on it instead of pressing the button. I used DraggableView class explained here: https://www.b4x.com/android/forum/threads/classes-are-soon-coming.18395/#content I can drag the panel around but now i can't touch the other panels contained in the draggable panel. So i tried to put "Return False" in "Sub Panel1_Touch" to let the event pass trough it but now i can't drag the panel. Is there a workaround? How other apps implement this? Thanks in advance
Hi all I created an app with a sliding panel that comes in from the left of the screen when i press a button and hides when i press the button again. It is like a menu implemented on many apps. Now i want to make that panel draggable by finger so i can hide it by swiping on it instead of pressing the button. I used DraggableView class explained here: https://www.b4x.com/android/forum/threads/classes-are-soon-coming.18395/#content I can drag the panel around but now i can't touch the other panels contained in the draggable panel. So i tried to put "Return False" in "Sub Panel1_Touch" to let the event pass trough it but now i can't drag the panel. Is there a workaround? How other apps implement this? Thanks in advance
Roger Daley Well-Known Member Licensed User Longtime User Oct 2, 2016 #2 FrankBerra, To make a short answer long, have a look at this source code there are 4 draggable panels. Regards Roger Upvote 0
FrankBerra, To make a short answer long, have a look at this source code there are 4 draggable panels. Regards Roger
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2016 #3 FrankBerra said: I created an app with a sliding panel that comes in from the left of the screen when i press a button and hides when i press the button again. It is like a menu implemented on many apps. Click to expand... Use this library: jfeinstein10 SlidingMenu library Or one of the others that implements a side menu: https://www.b4x.com/search?query=Side Menu Upvote 0
FrankBerra said: I created an app with a sliding panel that comes in from the left of the screen when i press a button and hides when i press the button again. It is like a menu implemented on many apps. Click to expand... Use this library: jfeinstein10 SlidingMenu library Or one of the others that implements a side menu: https://www.b4x.com/search?query=Side Menu