Skip to content Skip to sidebar Skip to footer

Actionbar Tab Styles In Horizontal View

When using a phone or a tablet in portrait mode, tabs are shown under the ActionBar that constains the logo and menu items. On tablets in horizontal mode they are shown inline with

Solution 1:

You should be interested in ActionBarTabStyle.

To use different images for inline tabs you can assume that it represents landscape mode and create a custom selector for landscape mode.

If you want complete set of options to try out, check this out http://jgilfelt.github.io/android-actionbarstylegenerator Download the zip, replace the generated images with your own png files and add the style in your project.

Post a Comment for "Actionbar Tab Styles In Horizontal View"