Android的多点触摸缩放 [英] Android Multi touch zooming

查看:76
本文介绍了Android的多点触摸缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现多点触摸放大和缩小功能,以我的申请。我的应用程序来查看图像的幻灯片。我试图实现从链接如下<一个多点触摸缩放功能href="http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847" rel="nofollow">http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847 ,它实际上是一个很好的人,但我需要的控制放大和缩小。也就是我想实现一个最高和最低限额变焦。任何人可以帮助我解决这个问题。同时也感谢提前寻找到这个问题。

I am trying to implement multi touch zoom in and zoom out functionality to my application. My application is to view an slideshow of images. I tried to implement multi touch zoom functionalities from the link following http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847 ,its actually a good one but I need to control the zoom in and zoom out. i.e I want to implement an maximum and minimum limit for zoom. Can anybody help me to solve this issue. Also thanks in advance to looking into this issue.

推荐答案

在我的搜索和编码变焦ImageView的我碰到的画廊应用程序缩放功能,其易于使用的是准确地​​复制一个小部件。虽然我设计我自己的变焦Iamgeview但后来我发现它不是。一个好的东西重新发明下面的轮子是链接

In my search and coding for the zooming imageview I came across a widget that is exactly copy of Gallery app zooming feature its easy to use. Although I have devised my own zoom Iamgeview but later I find its not agood thing to re- invent the wheel below is the link

礼貌:亚历山德罗Crugnola

<一个href="http://blog.sephiroth.it/2011/04/04/imageview-zoom-and-scroll/">http://blog.sephiroth.it/2011/04/04/imageview-zoom-and-scroll/

这篇关于Android的多点触摸缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆