Code example for FragmentActivity

Methods: getTitle, onContentChanged

0
		return super.onPrepareOptionsMenu(menu);
	} 
 
	@Override 
	public void onContentChanged() { 
		super.onContentChanged(); 
		getActionBarControl().setTitle(getTitle()); 
	} 
 
	@Override 
	public void setContentView(final int layoutResID) {
		View rootView = initLayout();
		getLayoutInflater().inflate(layoutResID, getContainer(), true);
		super.setContentView(rootView);
	} 
 
	@Override 
	public void setContentView(View view) {
		View rootView = initLayout();
		mContainer.addView(view);
		super.setContentView(rootView);