Code example for ViewGroup.LayoutParams

0
    /* (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) {
        super.setContentView(v, params);
        mHelper.registerAboveContentView(v, params);
    } 
 
    /* (non-Javadoc) 
     * @see com.slidingmenu.lib.app.SlidingActivityBase#setBehindContentView(int) 
     */ 
    public void setBehindContentView(int id) {