@Override public boolean dispatchTouchEvent(MotionEvent ev) { //requestDisallowInterceptTouchEvent(disallowIntercept); //disallowIntercept=true不让父元素拦截元素;disallowIntercept=false,没有拦截 getParent().requestDisallowInterceptTouchEvent(true); return super.dispatchTouchEvent(ev); }