kisoft Well-Known Member Licensed User Longtime User Jan 15, 2020 #1 Hi How to move a panel up and down using this class. I want the covered view not to be destroyed (pushed out). Is there any example of how to do this? I will grateful for help?
Hi How to move a panel up and down using this class. I want the covered view not to be destroyed (pushed out). Is there any example of how to do this? I will grateful for help?
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2020 #2 B4XDrawer creates a left side drawer. Dragging a drawer from the top or bottom will not be very convenient as there are already other draggable elements there. You can use the code I posted here to create a bottom drawer that shows programmatically: https://www.b4x.com/android/forum/threads/bottom-popup-drawer.111706/post-696670 Upvote 0
B4XDrawer creates a left side drawer. Dragging a drawer from the top or bottom will not be very convenient as there are already other draggable elements there. You can use the code I posted here to create a bottom drawer that shows programmatically: https://www.b4x.com/android/forum/threads/bottom-popup-drawer.111706/post-696670
kisoft Well-Known Member Licensed User Longtime User Jan 16, 2020 #3 Thank you for your answer and this example. I'd like to get a smooth finger movement of this panel. Exactly like I do with the drawer only from bottom to top Upvote 0
Thank you for your answer and this example. I'd like to get a smooth finger movement of this panel. Exactly like I do with the drawer only from bottom to top
kisoft Well-Known Member Licensed User Longtime User Jan 18, 2020 #4 I searched the forum but found nothing. Is there really no example of a sliding panel Up and Down that would work as smoothly as a drawer? Upvote 0
I searched the forum but found nothing. Is there really no example of a sliding panel Up and Down that would work as smoothly as a drawer?
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2020 #5 I'm not familiar with such example. However you should go over B4XDrawer code and modify it to track the vertical movement instead of the horizontal movement. Shouldn't be too difficult. Upvote 0
I'm not familiar with such example. However you should go over B4XDrawer code and modify it to track the vertical movement instead of the horizontal movement. Shouldn't be too difficult.
kisoft Well-Known Member Licensed User Longtime User Jan 19, 2020 #6 The matter gets complicated because in the project I would also like to use the menu with a pull-out drawer. Upvote 0
The matter gets complicated because in the project I would also like to use the menu with a pull-out drawer.