I have tried moving the Drawer code from page2 to the mainpage from this example: B4XPages + B4XDrawers
I get this error: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.ata.devo.ACToolbarLightWrapper" on path: DexPathList[[zip file "/mnt/expand/cf81e24b-b56f-473a-a2e5-c66313ee3f4c/app/com.ata.devo-1/base.apk"],nativeLibraryDirectories=[/mnt/expand/cf81e24b-b56f-473a-a2e5-c66313ee3f4c/app/com.ata.devo-1/lib/arm64, /system/lib64, /vendor/lib64]]
The B4XPages + B4XDrawers runs fine as an example program....
Sub Globals
Private drawer As B4XDrawer
End Sub
Sub Activity_Create(FirstTime As Boolean)
drawer.Initialize(Me,"drawer",Activity,30%x)
Dim pm As B4XPagesManager
pm.Initialize(drawer.CenterPanel)
drawer.LeftPanel.LoadLayout("Sidebar")
End Sub
with this all pages will be rendered in the drawers centerpanel and not in the whole activity
Works fine @Blueforcer but I need the "hamburger" icon in the Titlebar. I have an open question here: B4X Drawers. I really like the way the example works and that is what I want but it is for Activities instead of B4X pages. Is there any good documentation on converting Activities to B4X? I've come across a lot of good stuff and examples of good stuff but mostly for Activities.