2016-05-08 5 views

答えて

0

hereと記載されているMotionEventオブジェクトを使用できます。

// The coordinates of the current screen contact, relative to 
// the responding View or Activity. 
xPos = (int)MotionEventCompat.getX(event, index); 
yPos = (int)MotionEventCompat.getY(event, index); 
:複数のタッチ具体的

を検出する方法については、Googleが提供する チェックthis training

関連する問題