Reputation: 653
I'm using ActionbarSherlock Tabs navigation with ViewPager. I want three fixed tabs on the whole width of a screen.
But tabs don't take the whole width:
The code is standart. It's a little bit too long to paste it here, so it is on pastebin. ActionbarSherlock 4.2.
How to scretch tabs on the whole width?
Upvotes: 0
Views: 749
Reputation: 6899
If Actionbarsherlock tabs been used, it will support in all versions.
Upvotes: 0
Reputation: 1007286
I want three fixed tabs on the whole width of a screen.
You will need to find an implementation of tabs for ViewPager
(e.g., PagerTabStrip
from the Android Support package, or a tab implementation from ViewPagerIndicator) and modify it to look the way you want.
Upvotes: 1