Code example for FragmentActivity

Methods: getLayoutInflater, setContentView

0
	} 
 
	@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);
	} 
 
	/** 
	 * Sets the content view but doesn't add anything to the container 
	 */ 
	public void setContentView() { 
		super.setContentView(initLayout());