I am implementing OnTouchListener
and am receiving MotionEvent objects. Some ACTION_MOVE
events reports absolute X/Y coordinates, while some reports relative coordinates.
How can I ask a MotionEvent
what kind of coordinates it currently represents?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…