Code example for FragmentActivity

Methods: getLayoutInflater, setContentView

0
	/* (non-Javadoc) 
	 * @see android.app.Activity#setContentView(int) 
	 */ 
	@Override 
	public void setContentView(int id) {
		setContentView(getLayoutInflater().inflate(id, null));
	} 
 
	/* (non-Javadoc) 
	 * @see android.app.Activity#setContentView(android.view.View) 
	 */ 
	@Override 
	public void setContentView(View v) {
		setContentView(v, new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
	} 
 
	/* (non-Javadoc) 
	 * @see android.app.Activity#setContentView(android.view.View, android.view.ViewGroup.LayoutParams) 
	 */ 
	@Override 
	public void setContentView(View v, LayoutParams params) {