开发者

Identify single tap gesture within some time interval android

i want to perform some operation when user holds his finger on screen for 2 second(Time may vary). and single tap gesture.

i included gesture detection and used Motion Events methods like ActionDown and ActionUp but开发者_如何学Go i couldn't handle long press and single tap gesture... Any Solution?


Have you looked at GestureDetector and OnGestureListener?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜