Code example for FragmentActivity

Methods: getLayoutInflater, setContentView

0
		return mHelper.findViewById(id);
	} 
 
	@Override 
	public void setContentView(int id) {
		setContentView(getLayoutInflater().inflate(id, null));
	} 
 
	@Override 
	public void setContentView(View v) {
		setContentView(v, new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
	} 
 
	@Override 
	public void setContentView(View v, LayoutParams params) {
		super.setContentView(v, params);
		mHelper.registerAboveContentView(v, params);
	} 
 
	public void setBehindContentView(int id) {
		setBehindContentView(getLayoutInflater().inflate(id, null));