I am working on a program and then I need to have the selected index of my tab a the first position.
Look at this picture:
Now what I want is the tab "today" need to be displayed right at the beginning.
How can I do that? Can somebody help me?
I am working on a program and then I need to have the selected index of my tab a the first position.
Look at this picture:
Now what I want is the tab "today" need to be displayed right at the beginning.
How can I do that? Can somebody help me?
You can remove the previous tabs from the
Tabs
control and then Today would be "first" but I'm guessing you just wantToday
to be at the left most position and not the first position.That might be a bit challenging as there is no standard API for that. You might be able to manipulate the
setScrollX
value to match the value of thegetX
onToday
but that is a pretty big hack...