阅读背景:

使用Android的内置手势监听器和缩放监听器实现捏缩放和拖动

来源:互联网 

I am trying to implement pinch zoom and drag using Android's gesture listener and scale listener. The problem is that when I perform pinch zoom, the image (which I am trying to zoom) bounces to a particular location. Also the zoom position is not centered. The following code demonstrates what I am trying to achieve. Any idea why the image is jumping (and how to correct it) ?I am trying to implement pinch zoom and drag us




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: