摘要:
大家可以先去了解下Android Matrix基础+详解。Touch.java/** * 图片浏览、缩放、拖动、自动居中 */public class Touch extends Activity implements OnTouchListener { Matrix matrix = new Matrix(); Matrix savedMatrix = new Matrix(); DisplayMetrics dm; ImageView imgView; Bitmap bitmap; float minScaleR;// 最小缩放比例 static ... 阅读全文