Android Question B4XPages avoid back button

RB Smissaert

Well-Known Member
Licensed User
Longtime User
I prefer to use the Android close/back button instead, just to have more space on the top bar. So how do I get rid of this B4XPages back button?

RBS
 

TILogistic

Expert
Licensed User
Longtime User
I tried that, but back button still keeps appearing.

RBS

see B4Xpage3

B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1
    'load the layout to Root
    Root.LoadLayout("Page3")
    cvs.Initialize(Panel1)
    B4XPages.SetTitle(Me, "Draw Something")
    #if B4A
    B4XPages.AddMenuItem(Me, "Random Background")
    #End If
    B4XPages.GetManager.ShowUpIndicator = False
End Sub
 

Attachments

  • B4APage.zip
    14.2 KB · Views: 228
Upvote 0

RB Smissaert

Well-Known Member
Licensed User
Longtime User
Create a small project and upload it.
Attached a file that shows the back button appearing. It is Agraham's extended example.
If I add the same line:
B4XPages.GetManager.ShowUpIndicator = False
to the more simple ThreePages example then the back button doesn't appear.
Not sure where the difference comes from.

RBS
 

Attachments

  • B4XPagesTest-B4A.zip
    40.9 KB · Views: 212
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…