Android Question [SOLVED] Problem with TabStrip and TabStripViewPagerExtendet.bas

Hi, i have a little problem using TabStrip and this .bas https://www.b4x.com/android/forum/threads/tabstripviewpagerextendet.88821/#content

im doing this

B4X:
Sub TabStrip1_PageSelected (Position As Int)
    Log($"Current page: ${Position}"$)
    Dim back As TabStripViewPagerExtendet
    back.Initialize
    back.TabBackgroundColor(TabStrip1, Colors.Red, Colors.Yellow, Position)
End Sub

and work but this line (back.TabBackgroundColor(TabStrip1, Colors.Red, Colors.Yellow, Position)) disable the underline, the divider and the indicator.

I need all work together.

I hope you can give me a solution.
Greetins
 

Erel

Administrator
Staff member
Licensed User
 
Upvote 0
Top