how to center a TabStripViewPager text tab then width equally to screen
from this :
to this one :
my code :
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
tabstrip1.LoadLayout("1","Absensi")
tabstrip1.LoadLayout("2","Peta Pegawai")
Activity.AddMenuItem("Keluar","Keluar")
Activity.AddMenuItem("About","About")
End Sub
hi, i would like to implement something like this with b4a. is there something like this i could use ? i know tabstrip but tabstrip will show all tabs in 1 page i would like to have 20-30 tabs (for each month) and move them like in the video where the selected tab is always in the center is...
hi, i would like to implement something like this with b4a. is there something like this i could use ? i know tabstrip but tabstrip will show all tabs in 1 page i would like to have 20-30 tabs (for each month) and move them like in the video where the selected tab is always in the center is...
yes indeed it depends on GetAllTabLabels function and JavaObject also Reflection library
here what i do
B4X:
Activity.LoadLayout("main")
tabstrip1.LoadLayout("1","Absensi")
tabstrip1.LoadLayout("2","Peta Pegawai")
For Each lbl As Label In GetAllTabLabels(tabstrip1)
lbl.TextSize=14
lbl.Width=50%x
Next