Try something below like this,
View.OnTouchListener touchListener = new View.OnTouchListener()
{
public boolean onTouch(final View v, final MotionEvent motionEvent)
{
v.getParent().requestDisallowInterceptTouchEvent(true);
switch (motionEvent.getAction() & MotionEvent.ACTION_MASK)
{
case MotionEvent.ACTION_UP:
v.getParent().requestDisallowInterceptTouchEvent(false);
break;
}
return false;
}
};
I hope this may help you,All the best.