0

The ImageView in the Android Gallery widget does not provide Zoom and Pan functions.

Does anyone know how to enable those functions ?

Thanks.

user403015
  • 7,209
  • 19
  • 66
  • 100

1 Answers1

1

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/

Community
  • 1
  • 1
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491