Code example for FragmentActivity

Methods: getLayoutInflater, setBehindContentView

0
 
	/* (non-Javadoc) 
	 * @see com.jeremyfeinstein.slidingmenu.lib.app.SlidingActivityBase#setBehindContentView(int) 
	 */ 
	public void setBehindContentView(int id) {
		setBehindContentView(getLayoutInflater().inflate(id, null));
	} 
 
	/* (non-Javadoc) 
	 * @see com.jeremyfeinstein.slidingmenu.lib.app.SlidingActivityBase#setBehindContentView(android.view.View) 
	 */ 
	public void setBehindContentView(View v) {
		setBehindContentView(v, new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));
	} 
 
	/* (non-Javadoc) 
	 * @see com.jeremyfeinstein.slidingmenu.lib.app.SlidingActivityBase#setBehindContentView(android.view.View, android.view.ViewGroup.LayoutParams) 
	 */ 
	public void setBehindContentView(View v, LayoutParams params) {
		mHelper.setBehindContentView(v, params);