Android Question Center or distribute Tabs in TabsTrip

desof

Well-Known Member
Licensed User
Longtime User

Attachments

  • tabStripAlign.zip
    11.3 KB · Views: 148

Mahares

Expert
Licensed User
Longtime User
Is it possible to center or distribute the 3 Tabs to the full width?
Just add: lbl.Width=33%x as shown in the below code:
B4X:
For Each lbl As Label In GetAllTabLabels(TabStrip1)
        lbl.Typeface = Typeface.MATERIALICONS
        lbl.TextSize=12
        lbl.Width=33%x   'Added by Mahares 8/10/18
    Next
 
Upvote 0
Top