Code example for ViewGroup.LayoutParams

0
 
	/* (non-Javadoc) 
	 * @see com.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.slidingmenu.lib.app.SlidingActivityBase#setBehindContentView(android.view.View, android.view.ViewGroup.LayoutParams) 
	 */ 
	public void setBehindContentView(View v, LayoutParams params) {
		mHelper.setBehindContentView(v, params);
	} 
 
	/* (non-Javadoc) 
	 * @see com.slidingmenu.lib.app.SlidingActivityBase#getSlidingMenu() 
	 */ 
	public SlidingMenu getSlidingMenu() { 
		return mHelper.getSlidingMenu();
	}