Related requirements: Android DrawerLayout needs to remove the shadow, and clicking on the shadow part does not close the drawer and can trigger the view here, and the drawer can be closed in response to side sliding.
I process the oninterceptTouchEvent of DrawerLayout:
@Override
public boolean onInterceptTouchEvent(MotionEvent ev){
switch(ev.getAction()) {
case