当我从项目上移开手指时,我需要实现功能。所以我需要一些 Activity 。
***Scenario:***
1. Touch the image view using finger.
2. Remove the finger.
3. Now implement the functionality.
我想要第 2 步的事件回调。
如果存在某些预定义事件,请建议名称。
最佳答案
好的。当您触摸屏幕并移开手指时,事件调用:
- ACTION_DOWN - 当您第一次触摸时
- ACTION_MOVE - 当您在屏幕上移动手指时
- ACTION_UP - 当您将手指从屏幕上移开时
祝你好运!
关于android - 触摸事件 : when finger is removed from the item,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14155599/