1

I am applying costras universal-image-loader in my app. however, I can't seem to find the pinch to zoom option anywhere. Does it include it ?

tony9099
  • 4,567
  • 9
  • 44
  • 73

2 Answers2

4

Instead of an ImageView, use the PhotoView library.

https://github.com/chrisbanes/PhotoView

dannyroa
  • 5,501
  • 6
  • 41
  • 59
  • danny, i check the git, but had some difficulty merging the too. Have you tried that yourself ? – tony9099 Mar 27 '13 at 20:02
  • 1
    Yeah I tried it and worked for me. You just need the attacher to your ImageView. See https://github.com/chrisbanes/PhotoView/blob/master/sample/src/uk/co/senab/photoview/sample/SimpleSampleActivity.java. – dannyroa Mar 27 '13 at 20:37
  • danny, I used ImageViewTouch , have you ever used it ?https://github.com/sephiroth74/ImageViewZoom/tree/master/ImageViewTouch – tony9099 Mar 27 '13 at 21:03
  • @tony9099 can u help me how to display more than one image with ImageTouchView i have successfully implemented for a single image but if i want to display more than one image then what should i need to do ? – Erum Mar 20 '14 at 17:11
2

An issue regarding zoom was raised in the link below.

UIL doesn't provide any ImageView zoom functionality.

https://github.com/nostra13/Android-Universal-Image-Loader/issues/66.

For zooming images

Android imageView Zoom-in and Zoom-Out

How can I get zoom functionality for images?

Community
  • 1
  • 1
Raghunandan
  • 132,755
  • 26
  • 225
  • 256
  • Raghunandan, has anybody added this to the Android-Universal-Image-Loader ? – tony9099 Mar 27 '13 at 18:11
  • I have not come across any till now. You can click on listview image show it in another activity (detailview) and apply zoom in and zoom out on the image. – Raghunandan Mar 27 '13 at 18:24