Android Question how to set badge to a specific tabstrip

Makumbi

Well-Known Member
Licensed User
this code sets badge to all . i wanted to set the badge to one single tabstrip please help

B4X:
TabStrip1.LoadLayout("Page2", "Accounts " & Chr(0xF19C))
        TabStrip1.LoadLayout("Page3", "Academics " & Chr(0xF19D))
        TabStrip1.LoadLayout("Page4", "Communication Book " & ": " & Chr(0xF1D7)& ": ")
B4X:
i wanted to set abadge count to only this

[CODE=b4x]   TabStrip1.LoadLayout("Page4", "Communication Book " & ": " & Chr(0xF1D7)& ": ")

B4X:
        For Each lbl As Label In GetAllTabLabels(TabStrip1)

            badger1.SetBadge(lbl, Rnd(1,2) )

        Next
 
Top