Action bar layout options (align NAVIGATION_MODE_TABS at the bottom)

I want to use Actionbarsherlock to align tabs at the bottom of the layout. If fragments are viewed above it, not below it.

How to do it? currently in onCreatei doing

getSupportActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
getSupportActionBar().setDisplayShowHomeEnabled(false);
getSupportActionBar().setDisplayShowTitleEnabled(false);`

and do not see the obvious function in getSupportActionBar(), which facilitates its position on the screen.

Acumen appreciated

+3
source share
1 answer

It's impossible. Tabs are built into the action bar, which always remains at the top of the screen. The behavior of the action bar is dictated by the built-in action bar built into Android. ActionBarSherlock only simulates its behavior on pre-ICS.

, ActionBarSherlock .

- TabWidget , ICS.

+6

All Articles