开发者

How to enable Zoom and Pan functions in Android Gallery widget?

The ImageView in the Android Gallery widget does not provide Zoom and 开发者_高级运维Pan functions.

Does anyone know how to enable those functions ?

Thanks.


There is no "zoom and pan" for ImageView or for Gallery. You either need to find third-party code that provides this, or write it yourself.

Here are some links for implementing your own zoom logic on an ImageView:

http://blogs.sonyericsson.com/developerworld/category/tutorials/zoom/

http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847

android multitouch image zooming?

Here are existing multi-touch-enabled widgets:

http://code.google.com/p/android-pinch/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜