super.onCreate(savedInstanceState);
// Set up the view pager
setContentView(R.layout.fragment_tabs_pager);
mViewPager = (ViewPager)findViewById(R.id.pager);
// Set up action bar
final ActionBar bar = getSupportActionBar();
bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
bar.setDisplayShowTitleEnabled(true);
bar.setDisplayShowHomeEnabled(false);
This is the behavior of the native action bar on ICS. I have no idea why it does it. If you think it's an incorrect behavior feel free to file a bug on http://b.android.com and follow-up with a link to the bug. For now we're just stuck imitating what ICS does.
---
Jake Wharton
http://about.me/jakewharton
--
You received this message because you are subscribed to a topic in the Google Groups "ActionBarSherlock" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/actionbarsherlock/L5LcS0o7O0w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to actionbarsherl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.