Android Question B4XPages - Common screen area

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Before converting one of my Apps to B4XPages I had all the screens in the main and different classes to show which screen was displaying.

Because ALL the screens were overlaying the main screen I was showing a status bar at the bottom by having the sub screens just clip their height and let the main page status show thru

1592427759787.png


Is there a way to have the same effect without having to have each Page handle the status bar?

The Pages are still clipping themselves but now there is a white background hiding the status bar

1592427900776.png


We can have a menu on top can there be a common status area at the bottom?

I am sure I can add the fields to each screen and display them - but was looking for a simpler way

BobVal
 
Everything is simpler with B4XPages.

There are all kinds of ways to do it. One very simple way is to add it in the main module:
Code: Copy
Sub Globals
    Private pnlBottom As Panel
End Sub

Sub Activity_Create(FirstTime As Boolean)
    Dim pm As B4XPagesManager
    pm.Initialize(Activity)
    Activity.LoadLayout("BottomBar")
    pnlBottom.Elevation = 10dip '<--- make it appear over other views
End Sub
 
Upvote 0
Back
Top