What is the best way to display a map picture on Android?
I am currently trying to figure out which way is best to display a picture in an Android app. The picture will be a map and will be a big picture (3000x3000 pixels). I would like to add the ability to pinch zoom into the picture and move the image around the screen but not have the scale of the image changed. I have played around with a lot of solutions that when the image is moved it is auto re-sized. Is there a way of doing this? Thanks.
However I have used many libraries for loading large images but subsampling-scale-image-view is the best library I found and also it supports a variety of gesture support.
Gesture detection
Supports interception of events using GestureDetector and OnTouchListener Extend to add your own gestures
Njoy!
链接地址: http://www.djcxy.com/p/67422.html上一篇: Facebook分享,标题不共享