[B4X] [XUI] AS Tab Menu (Bottom Menu/Navigation)

Alexander Stolte

Expert
Licensed User
Longtime User

mcqueccu

Well-Known Member
Licensed User
Longtime User
The new update (1.07) with smaller icon isn't looking pretty at all, my icons are now little a dot?

How do I reset the icons height to default 15?

Screenshot_20200327-114017.jpg
 

Alexander Stolte

Expert
Licensed User
Longtime User
The new update (1.07) with smaller icon isn't looking pretty at all, my icons are now little a dot?
since 1.07 i have update code in the examples.
Set the 15 to a 30
B4X:
ASTabMenu_vertical.FontToBitmap(Chr(0xF015),False,30,xui.Color_White)
 

mcqueccu

Well-Known Member
Licensed User
Longtime User
since 1.07 i have update code in the examples.
Set the 15 to a 30
B4X:
ASTabMenu_vertical.FontToBitmap(Chr(0xF015),False,30,xui.Color_White)


Ok, Never thought of that, I guess am becoming lazy.....
 

Puthut Wibowo

Member
Licensed User
What is the command for LoadLayout?

I use the Libary Tab Strip just enough to use the TabStrip1.LoadLayout command ("LAYOUT FILE", "TAB NAME")


Is there an example maybe I will use xcustomlistview?
 

Alexander Stolte

Expert
Licensed User
Longtime User
1.08
  • Add Commit Mode Designer Property
    • CommitMode_MANUALLY - you need to call CommitChanges if you make changes
    • CommitMode_AUTOMATIC - The view is refreshing automatically after you make changes on the view
  • Add CommitChanges Property
Because Base_Resize is called very often, so you can refresh the view by your self, if you make many changes on it.
 

Nino Caminiti

Member
Licensed User
On my app I have 4 activities I would like to use this menu, Is it possible by clicking a Tab to open an activity. For example, Click tab 0 open activity (web) , Click on tab 1 Open the activity( info) , Click on tab3 open activity(contacts)
 
Last edited:

Pedro_MTG

New Member
Just set an empty text-parameter ("")
And if you want only text, without bitmap, set the bitmap to 'null'.
[/CITAR]
it worked better for me...thanks for the tip

style icon menu:
'style icons
    ASTabMenu_horizontal.TabStyle = "Icon"
    ASTabMenu_horizontal.CommitChange
 
Top