Android ActionBar Tabs behavior on orientation change

view full story

http://stackoverflow.com – I'm developing an Android project with ActionBar Tabs. Tabs are viewed as tabs in portrait mode, and as a drop-down in landscape, as described here https://code.google.com/p/android/issues/detail?id=24439 My goal is to show images as tab headers while in portrait mode, and text title for drop-down while in landscape. The idea is to use a custom layout, showing only the required widget. Here's my code public class ResultListActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); (HowTos)