Closed graycreate closed 10 years ago
in VerticalDrawer.java ,just '//' the following lines,it works here. public boolean onInterceptTouchEvent(MotionEvent ev) { final int action = ev.getAction() & MotionEvent.ACTION_MASK;
if (action == MotionEvent.ACTION_DOWN && mMenuVisible && isCloseEnough()) {
setOffsetPixels(0);
stopAnimation();
endPeek();
setDrawerState(STATE_CLOSED);
}
// Always intercept events over the content while menu is visible.
// if (mMenuVisible && isContentTouch(ev)) { // return true; // } ...... }
when i touch the view of 'mdContent',the 'mdMenu' closed automatically.But ,I want the 'mdMenu' keep opened unless I scroll up on the screen.is there a method of MenuDrawer can do it? Poor english,hope you can understand it.