Code example for ActionBarActivity

Methods: onConfigurationChanged

0
	@Override 
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);
		mToggle.onConfigurationChanged(newConfig);
	} 
 
	@Override 
	public boolean onOptionsItemSelected(MenuItem item) {
		if (mToggle.onOptionsItemSelected(item)) {
			return true; 
		} 
 
		return super.onOptionsItemSelected(item);
	} 
 
	public void setTitle(String title) {
		this.getSupportActionBar().setTitle(title);
	} 
 
	public void setTitle(int title) {
		this.getSupportActionBar().setTitle(title);