Code example for ActionBar

Methods: setListNavigationCallbackssetNavigationModesetTitle

0
		workwithListActionBar(); 
	} 
 
	public void workwithListActionBar() { 
		ActionBar bar = this.getActionBar();
		bar.setTitle(tag);
		bar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
		bar.setListNavigationCallbacks(new SimpleSpinnerArrayAdapter(this),new ListListener(this, this));
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE