Android 移动缩放的ImageView
摘要:
今天介绍一下Android中怎么实现ImageView的缩放和移动,自定义TouchImageView。 1 public class TouchImageView extends ImageView { 2 3 Matrix matrix; 4 5 // We can be in one of these 3 states 6 static final int NONE = 0; 7 static final int DRAG = 1; 8 static final int ZOOM = 2; 9 int mode = ... 阅读全文
posted @ 2013-08-06 00:29 蹒跚走路的程序猿 阅读(482) 评论(0) 推荐(0) 编辑