iOS Question B4XPages Three Page Example Menu Item

lucasheer

Active Member
Licensed User
Longtime User
Hello!

I am using B4XPages and am having trouble with displaying my bottom navigation over the pages.

In B4A I use this after initiating the page manager:
B4X:
Dim pm As B4XPagesManager
pm.Initialize(Activity)
Activity.LoadLayout("BottomBar")

However, I cannot figure out how to add the bottom nav layout in B4i.

I tried loading it as a page and it messed up the PageManager.
I also tried loading the bottom navigation in B4XMainPage, but it gets removed in future pages.

Simulator Screen Shot - iPhone 8 - 2020-07-11 at 04.57.00.png

Simulator Screen Shot - iPhone 8 - 2020-07-11 at 04.57.04.png





Thank you!
 

lucasheer

Active Member
Licensed User
Longtime User
Not the best solution if you want to build a cross platform app.

You should instead implement the bar in a class (possible as a custom view) and load it from each of the pages.


I can load my bar onto each page, but it becomes part of the sliding animation whenever I go to a new page.

I just need to be able to overlay the bar above all of B4XPages
 
Upvote 0

lucasheer

Active Member
Licensed User
Longtime User
You can't. Each B4XPage in B4i is contained in a native Page.

I have continued to search for a way to solve this issue.

6/8 of my apps, and many apps now days use this bottom navigation:
bottom1.PNG

bottom2.PNG

bottom3.PNG

bottom4.PNG


I don't see how I can implement this with B4XPages. I can't add it through each page because of the slide/new page animations.

Sorry for the trouble, but I really want to use B4XPages for my apps.

Thank you!
 
Upvote 0
Top