In a ScrollView
, I want to implement horizontal scrolling. To do so, I listen to the MotionEvents
sent when fingers touch the screen or move onto it. It works pretty well, except when I unwillingly combine a vertical move with the horizontal one.
I noticed that the vertical move interrupts the string of ACTION_MOVE
by placing an ACTION_CANCEL
event. And after it, no more ACTION_MOVE
events are generated.
How can I do to prevent those vertical moves from cancelling the emission of ACTION_MOVE
events?
Thanks in advance for the time you will spend trying to help me.