public void setContentView(View view, LayoutParams params) {
        switch (mDragMode) {
            case MenuDrawer.MENU_DRAG_CONTENT:
                mContentContainer.removeAllViews();
                mContentContainer.addView(view, params);
                break;

            case MenuDrawer.MENU_DRAG_WINDOW:
                mActivity.setContentView(view, params);
                break;
        }
    }
Set the content to an explicit view.

@param view   The desired content to display.
@param params Layout parameters for the view.
menudrawer/src/net/simonvt/menudrawer/MenuDrawer.java