Currently I'm writing an app that contains an image viewer. I implemented zooming as follows:
Zoom in: Long press; Then a zoom-in icon appears at your finger-location. Then drag a rectangle (with aspect ratio of your screen) from your current finger position to another position; Move your finger off the screen; Then the selected rectangle will expand to the size of your screen, with the contained image, effectively zooming in. Zoom out: Touching the screen shows a zoom-out icon on the bottom of the screen. It'll stay there for about 2 seconds after you release the screen. When touching and holding the zoom-out icon, you'll zoom out, until you move your finger off the screen. A short press and then moving your finger will allow you to move the image under your finger. On Jul 19, 2:01 pm, Alexey Krasnoriadtsev <ale...@agilefusion.com> wrote: > double tap, that circles through predefined zoom levels. > > On Jul 18, 11:18 am, Jason Van Anden <jason.van.an...@gmail.com> > wrote: > > > > > I need to zoom-in/zoom-out for my app. Multitouch would be the most obvious > > way to go about this *sigh*. > > > I would prefer not to use the zoom-in/out widget. > > > I have been trying a number of other techniques but am not satisfied with > > the feel. > > > Looking for suggestions from the community on alternative approaches. A one > > fingered zoom? > > > Thanks, > > Jason Van Anden- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---