Months ago I designed something similar to B4xDrawer for B4J, but never finalized it. So it was not published.
The basic idea is really simple: two panels, where left (or menu) panel slides in/out covering part of main panel which gets covered by a partially transparent third panel so to intercepts clicks on areas not covered by the menu panel.
The complicated stuff in B4XDrawer (which is a B4A / B4i library) is to handle the gesture. This is less relevant on the desktop.
Implementing a drawer without a gesture should be simple. Just create a panel and slide it with B4XView.SetLayoutAnimated.
The complicated stuff in B4XDrawer (which is a B4A / B4i library) is to handle the gesture. This is less relevant on the desktop.
Implementing a drawer without a gesture should be simple. Just create a panel and slide it with B4XView.SetLayoutAnimated.
The reason why is because i want to use a touchscreen monitor for my app using windows/linux os. Anyway, I already use B4XView.SetLayoutAnimated, but pane doesn't have elevation property like panel in b4a.
I just like the shadow in panel when you add elevation. Anyway, i will stick to b4xview.setlayoutanimated for now. I wish elevation will be added in Pane in the next update to add more beauty to User Interface. Thanks a lot for the answer.