public void setOffsetMenuEnabled(boolean offsetMenu) {
        if (offsetMenu != mOffsetMenu) {
            mOffsetMenu = offsetMenu;
            requestLayout();
            invalidate();
        }
    }
Indicates whether the current layer type is {@link android.view.View#LAYER_TYPE_HARDWARE}.
menudrawer/src/net/simonvt/menudrawer/DraggableDrawer.java