I'm using PagerTabStrip with ViewPager:
<android.support.v4.view.ViewPager>
<android.support.v4.view.PagerTabStrip />
</android.support.v4.view.ViewPager>
It seems the style of PagerTabStrip is different than the tab widget you use with the actionbar, in that the tab positions are not fixed. Is there a way to force that positioning/styling?
My pager only has two tabs, and it looks really silly to not have both tabs visible at once.
Thanks
Unfortunately, tabs in PagerTabStrip
don't work the way tabs in ActionBar
do.
You can either use the ActionBar
or create a custom strip.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With