Android view 响应up事件

104 阅读1分钟
  • 实现onTouchListenering 返回 true 表示子view消耗了当前事件,接下来的事件请继续下发
  • 在xml中实现android:longClick="true"