B4J Question ABMaterial - B4XDrawer like thing?

techknight

Well-Known Member
Licensed User
Longtime User
I use B4XDrawer on all my apps with the hamburger menu and it works nicely. I put all my options and settings there such as checkboxes, slider controls, etc.

Is there such a thing on ABMaterial? if so, how to implement it? Thanks.
 

techknight

Well-Known Member
Licensed User
Longtime User
Oh nice. is there a way to do it without the navigation bar/menu? I dont have one since my program is entirely an HTML5 canvas. But I do want the slide out sidebar on the left hand side to come out over-top like standard Android does. Although if I have to, I could put just the navigation bar at the top, and not the side one.
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
Basically, I am trying to replicate this:

1598369631684.png
 
Upvote 0

John Naylor

Active Member
Licensed User
Longtime User
In public Sub ConnectPage() you could simply remove ABMShared.ConnectNavigationBar(page) to get rid of the menu.

To get rid of the entire top section remove ABMShared.BuildNavigationBar(page, "Whatever", "../images/logo.png", "", "", "") from BuildPage()
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
ok but then how do I still use the sidebar? because from what I saw above in the link, its connecting into the navigation bar?
 
Upvote 0

John Naylor

Active Member
Licensed User
Longtime User
ok but then how do I still use the sidebar? because from what I saw above in the link, its connecting into the navigation bar?

Ahhh my apologies I've just tried it and indeed the sidebar is connected to the nav bar so my idea won't work.

I found this but it looks like you still need the navigation bar.
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
Yea, I need something thats orphan that does not rely on the navigation bar since I am not using it in an app. Or maybe its a navigation bar in of itself, without the "navigation" features so it works like B4XDrawer does.
 
Upvote 0
Top