简体   繁体   中英

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

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 (eg 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?

您可以尝试这个开源项目: https : //github.com/jasonpolites/gesture-imageview

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM