We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
看看这个:http://code.google.com/p/android-捏/
那里没有太多活动,但您可以看一下代码。
这个问题也应该对您有帮助: Android 中是否有内置 API 用于处理捏合缩放功能
Take a look at this one: http://code.google.com/p/android-pinch/
Not a lot of activity there, but you can take a look a the code.
this question should help you also: Is there a built in API for handling pinch-zoom functionality in Android
Android 开发者博客文章 http://android-developers .blogspot.com/2010/06/making-sense-of-multitouch.html 解释了多点触控事件的一般处理,并给出了ScaleGestureDetector,Android 框架的一个组件,用于检测捏缩放手势并回调您的代码来处理它。
The Android Developers Blog post at http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html explains general handling of multitouch events and also gives examples of ScaleGestureDetector, a component of the Android framework that detects pinch zoom gestures and calls back into your code to process it.
我想你应该看看 Github 上的这个库 https://github.com/sephiroth74/ImageViewZoom
I guess you should have a look at this Library on Github https://github.com/sephiroth74/ImageViewZoom
这是帮助吗?它可能比你想象的更简单:
实现捏合缩放手势
Is this help? It may be a little more simple than you thought:
Implementing the Pinch Zoom Gesture