But that way I change the color of all the tab. I want to change the color of just a specific tab.
You can add something like this in the menu (ASTabMenu.bas):
B4X:
Public Sub setTabBG (index As Int, colour As Int)
Dim tmp_tab As B4XView = xpnl_tabbase.GetView(index)
tmp_tab.Color = colour
End Sub
After, using:
B4X:
MainTabMenu.setTabBG(0, Colors.Green)
Last edited: