pinch zoom feature inside a scroll view

与世无争的帅哥 提交于 2019-11-30 15:56:54

问题


I have a scroll view. I need to apply pinch zoom feature inside this scroll view. Can any suggest a method? Is there any library to include a container view having pinch zoom feature.


回答1:


I think you need a custom ImageView with pinch zoom ability. Check out this answer: https://stackoverflow.com/a/7458910/2511775 . It's one of the best answers I've found on SO.




回答2:


At last I got the solution. Let me share that.

https://code.google.com/p/android-zoom-view/w/list using this library we can create a zoomview and we can add other views to it.

There is no wiki page associated with this project so please check this Wiki about android-zoom-view.jar



来源:https://stackoverflow.com/questions/20665227/pinch-zoom-feature-inside-a-scroll-view

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