1

ActionBar Tabs are not displayed

view story
linux-howto

http://stackoverflow.com – I'm implementing ActionBar tabs according to official guide. I have a fragment that is added to activity. In that fragment I'm creating tabs: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ActionBar actionBar = getSupportActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); actionBar.setDisplayShowTitleEnabled(false); Tab tab = actionBar.newTab() .setText("One") .setTabListener(new TabListener<DemoFragment>( this, "1" (HowTos)