开发者

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

开发者 https://www.devze.com 2023-02-24 01:27 出处:网络
The ImageView in the Android Gallery widget does not provideZoom and 开发者_高级运维Pan functions.

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

精彩评论

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