开发者

(Android)Need to fire an event when user touches to the screen an another when releases?

How to fire an event when user touches to screen an another(this i开发者_运维问答s the part i stuck) when releases?


Use a Touch listener, the MotionEvent will have an Action type of "ACTION_DOWN" when the user presses, "ACTION_UP" when he releases. See the motion event documentation.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜