Trying to play with default project actionbar+tabs, created by ADT plugin. On some devices tabs moved to drop-down list after screen rotation.
Android developer guide says:
Note: In some cases, the Android system will show your action bar tabs as a drop-down list in order to ensure the best fit in the action bar.
But if I want to disable this feature, and show always tabs, there is a right way to do it?
There is no way to do it, AFAIK. I filed an issue on this very point and was told that it was working as designed.
The simplest solution, IMHO, is to not use action bar tabs, but instead switch to ViewPager
and tabs for it (PagerTabStrip
, tabbed indicator from ViewPagerIndicator, etc.).