B4J Question [ABMaterial] [Solved] Always hiding side menu and adding button

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Well stupid question #45982. Wanting to always hide the side menu and add a button to show / hide.
Been searching for an hour and not getting anything to work. What am I missing? I figure its something easy.




1634025443168.png
 
Last edited:
Solution
Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button.

B4X:
page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo")

Alwaysbusy

alwaysbusy

Expert
Licensed User
Longtime User
Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button.

B4X:
page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo")

Alwaysbusy
 
Upvote 0
Solution

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Try setting the barType to ABM.SIDEBAR_MANUAL_ALWAYSHIDE. The Sidebar is controlled by the Hamburger button.

B4X:
page.NavigationBar.Initialize(page, "nav1", ABM.SIDEBAR_MANUAL_ALWAYSHIDE, Title, True, True, 325, 48, sbtopcont, ABM.COLLAPSE_ACCORDION, "onetwo")

Alwaysbusy

Thanks @alwaysbusy. I knew it was something stupid. (stupid being me)
 
Upvote 0
Top