Android TabsAdapter with ActionbarSherlock
问题 I am using ActionbarSherlock with a SherlockListFragment that implements LoaderManager.LoaderCallbacks . In my ApplicationActivity onCreate method I am using setContentView(R.layout.application); to set the layout -- works great. I am initializing the actionbar like so ActionBar bar = getSupportActionBar(); bar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); bar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE); bar.setDisplayHomeAsUpEnabled(false); bar.setDisplayShowTitleEnabled(true); /