Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户将手指放在屏幕上 2 秒时,我想执行一些操作(时间可能会有所不同)。和单击手势。 我包括了手势检测并使用了动作事件方法,如 ActionDown 和 ActionUp,但我无法处理长按和单击手势......任何解决方案?
你看过GestureDetector和OnGestureListener吗?