user403015
user403015

Reputation: 7227

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.

Upvotes: 0

Views: 3210

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007494

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/

Upvotes: 1

Related Questions