3

I am new to Android. I have rectangular and circular ImageViews. I need to resize these ImageViews with two fingers (e.g. while dragging with two fingers, that ImageView should be resizable).

Kevin Coppock
  • 133,643
  • 45
  • 263
  • 274
Kiran Android
  • 286
  • 1
  • 3
  • 6
  • There are a few good answers here: http://stackoverflow.com/questions/2537238/how-can-i-get-zoom-functionality-for-images I recommend google before posting new questions. Its likely they have already been asked. – IAmGroot Sep 19 '12 at 15:42
  • thanks for giving answer i saw that link before but that is customised imageview here i don't want create a customised imageview. here i added imageview dynamically in my code. - Doomsknight – Kiran Android Sep 19 '12 at 16:29
  • If you want the extra zoom functionality it needs to be customised. And you can add it dynamically in the same way. – IAmGroot Sep 19 '12 at 17:06
  • [This question](http://stackoverflow.com/questions/4227451/android-imageview-setting-drag-and-pinch-zoom-parameters) shows how to drag and zoom on a regular ImageView. It doesn't resize the view, it just alters the underlying canvas. I use it for pinch to zoom in several apps and it works great. – Michael Celey Sep 19 '12 at 17:34
  • Hi thanks for giving your suggestions but I am not getting correctly. I want pinch and zoom in image view it is in map and below of this image some pins are there those pins also clickble events handling. When I through what you are providing links its not working for me. Can any one give a suggestions plz. – Kiran Android Sep 20 '12 at 12:32

0 Answers0