标签: android menu swipe imagebutton gesture
我在Android应用中有一个菜单,其中有几个 ImageButton (全部分组在 RelativeLayout ),我想在刷卡>时消失强>用手指指向屏幕外侧。 用手指向屏幕内侧滑动,菜单应重新出现。 有什么建议吗?
答案 0 :(得分:2)
尝试编写此处Fling gesture detection on grid layout给出的手势检测,并在该代码中代替吐司编写代码。