|
|
@ -2624,8 +2624,17 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
view.getParent().requestDisallowInterceptTouchEvent(false);
|
|
|
|
if (view.getId() == R.id.tvBody)
|
|
|
|
return (view.getId() == R.id.wvBody && ev.getAction() == MotionEvent.ACTION_MOVE);
|
|
|
|
view.getParent().requestDisallowInterceptTouchEvent(false);
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
boolean xm = view.canScrollHorizontally(-1);
|
|
|
|
|
|
|
|
boolean xp = view.canScrollHorizontally(1);
|
|
|
|
|
|
|
|
boolean ym = view.canScrollVertically(-1);
|
|
|
|
|
|
|
|
boolean yp = view.canScrollVertically(1);
|
|
|
|
|
|
|
|
boolean zoomed = (xm || xp || ym || yp);
|
|
|
|
|
|
|
|
view.getParent().requestDisallowInterceptTouchEvent(zoomed);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|