I tried to change the widths of the 3 tabs in my tabstrip.
If I use the GetAllTabLabels function and set the sizes of all tabs to 33.3%x works fine, but I want to change to this sizes:
tab(0) = 30%x
tab(1) = 40%x
tab(2) = 30%x
I tested with the function TabWidth of the TabStripViewPagerExtendet class:
https://www.b4x.com/android/forum/threads/tabstripviewpagerextendet.88821/
but don't worked.
My goal is set the middle tab to a large size than the other tabs.
Thanks in advance for any tip.
If I use the GetAllTabLabels function and set the sizes of all tabs to 33.3%x works fine, but I want to change to this sizes:
tab(0) = 30%x
tab(1) = 40%x
tab(2) = 30%x
I tested with the function TabWidth of the TabStripViewPagerExtendet class:
https://www.b4x.com/android/forum/threads/tabstripviewpagerextendet.88821/
but don't worked.
B4X:
Dim tse As TabStripViewPagerExtendet
tse.Initialize 'to Initialize the class
'Set the Tab width
tse.TabWidth(tsCadastro, 30%x, 0)
tse.TabWidth(tsCadastro, 40%x, 1)
tse.TabWidth(tsCadastro, 30%x, 2)
Thanks in advance for any tip.