I'm doing a quick and dirty zoom using the following: if (mIsZoomed) { canvas.translate(-mCenter.x * (mZoomScale - 1), 20); canvas.scale(mZoomScale, mZoomScale); }
It shifts my image with the translate and zooms in with the scale. I set mIsZoomed by: @Override public boolean onTouchEvent(MotionEvent event) { mIsZoomed = !mIsZoomed; return super.onTouchEvent(event); } which responds to the screen being touched. Rud http://mysticlakesoftware.blogspot.com/ On Jul 14, 12:20 am, "android.vinny" <vinny.s...@gmail.com> wrote: > Hi > > Is Zooming is possible to do in android for Image view . > I have a images in full screen view, i need to zoom in and zoom out > for that images present in image view ..... > Can any body give me suggestions regarding this........ > > Thanks in advance......... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---