I have a viewpager which switches between tabs when swiping left/right.In my second tab, i have some custom views which have listeners for pinching and dragging but when i t
If you know the positions on which you don't want to intercept touch events in the view pager you can do something like I did.
@Override public boolean onInterceptTouchEvent(MotionEvent arg0) { if(arg0.getY()>getHeight()/2)return false; return super.onInterceptTouchEvent(arg0); }