Hi everyone,
I'm new to using B4XPages in Android (B4A) and need some help with two issues related to navigation bar customization:
1. Hiding the Navigation Bar on the Login Page
In B4i, I use the following code to hide the navigation bar:
Main.NavControl.NavigationBarVisible = False
How can I achieve the same in B4A for B4XPages?
2.
Adding Buttons to the Left and Right Sides of the Navigation Bar
In B4i, I add buttons to the navigation bar using this code:
Dim bb As BarButton
bb.InitializeText(Chr(0xF3FB), "hamburger")
bb.SetFont(xui.CreateFont2(Font.CreateNew2(Helper.FontIcon, 24), 24))
Dim aa As BarButton
aa.InitializeText(Chr(0xF189), "notification")
aa.SetFont(xui.CreateFont2(Font.CreateNew2(Helper.FontIcon, 24), 24))
B4XPages.GetNativeParent(B4XPages.MainPage).TopLeftButtons = Array(bb)
B4XPages.GetNativeParent(B4XPages.MainPage).TopRightButtons = Array(aa)
How can I replicate this functionality in B4A for B4XPages?
Any guidance or code examples for handling these navigation bar customizations in B4A would be greatly appreciated. Thank you!