Hello,
I am using the example from here: https://www.b4x.com/android/forum/threads/b4x-b4xdrawer-sliding-drawer.97828/
When I am testing on an emulator, it looks fine. When I test on my own phone (Samsung Galaxy S10+) the app seems like it expands under the status bar / notification bar.
Is this supposed to be automatically calculated or do I have to calculate the notification bar and place the views under it?
I assume it was done automatically
The 2nd problem I am having is, when I bring a 2nd panel into view, it is not going to the correct position.
For example, I have Panel1 on the layout. I have Panel2 that is not visible in the designer window.
I would like to bring Panel2 into view so I do something like this:
It ends up looking like this
In my designer, I have it set up like this:
I am using the example from here: https://www.b4x.com/android/forum/threads/b4x-b4xdrawer-sliding-drawer.97828/
When I am testing on an emulator, it looks fine. When I test on my own phone (Samsung Galaxy S10+) the app seems like it expands under the status bar / notification bar.
Is this supposed to be automatically calculated or do I have to calculate the notification bar and place the views under it?
I assume it was done automatically
The 2nd problem I am having is, when I bring a 2nd panel into view, it is not going to the correct position.
For example, I have Panel1 on the layout. I have Panel2 that is not visible in the designer window.
I would like to bring Panel2 into view so I do something like this:
B4X:
Panel2.Top = Panel1.Top
Panel2.Left = Panel1.Left
Panel2.BringToFront
It ends up looking like this
In my designer, I have it set up like this:
Last edited: