In my app I have a Sherlock ActionBar with spinner navigation ("ActionBar.NAVIGATION_MODE_LIST"). In one activity I have two fragments which shall be switchable via tabs. What I did now, was to put the fragment loading into a ViewPager ("android.support.v4.view.ViewPager") together with a "android.support.v4.view.PagerTabStrip" for switching between the fragment tabs.
My problem is now, that these are horizontal scrollable tabs. Same seems to be with Jake Whartons viewpageindicator (viewpagerindicator.com). But what I want is two fixed tabs beside each other. How is that possible with the the support library or with the viewpageindicator?
For wording see http://developer.android.com/design/building-blocks/tabs.html