0

Is there any way, how to set that the Navigation Tabs will be displayed below Action-bar every-time? On my phone is the view like I want it to be - tabs below Action-bar - but on tablet are the tabs inside the Action-bar.

Is there any way how to accomplish that?

InnocentKiller
  • 5,234
  • 7
  • 36
  • 84
marson
  • 913
  • 10
  • 32

1 Answers1

3

You can not force tabs to be below the action bar. You can, however, roll-your-own with a ViewPager and PagerTabStrip. See the post below:

Force stacked tabs

Also, the Android Developers docs have some info:

http://developer.android.com/training/implementing-navigation/lateral.html#PagerTitleStrip

Community
  • 1
  • 1
Grant Amos
  • 2,256
  • 17
  • 11