双击:放大Android MapView?
问题描述:
经过一些工作后,我的路线应用程序运行正常。
我唯一想要添加的是双击放大功能,但我不知道如何。
After a little bit of work my route application works fine. The only thing I just want to add is a double tap zoom in function, but I don't know how.
你能给我一个提示吗?
Could you give me a hint?
答
实施GestureListener以接收doubleTap事件。
Implement GestureListener to receive doubleTap events.
参见:网格布局上的手势检测