ImageView - implementing gestures (pinch zoom, double tap) compatible with ViewPager (just like Android Gallery)

帅比萌擦擦* 提交于 2019-12-25 02:16:02

问题


I was looking for an effective way to implement gestures option to ImageView with ViewPager. I tried some examples, but they are not working well (e.g. pinch zoom actually is not zooming where I want to). In my app I need pinch zooming, double tap zoom and draging zoomed image.

What is the fastest and easiest way to make it all working well?


回答1:


you can try this open sources project: https://github.com/jasonpolites/gesture-imageview



来源:https://stackoverflow.com/questions/12517306/imageview-implementing-gestures-pinch-zoom-double-tap-compatible-with-viewp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!