android中设置ImageView偏移的方法之一

// Matrix matrix = new Matrix();
  // matrix.postTranslate(toXDelta, 0);
  // imageView.setImageMatrix(matrix);

 

注:ScaleType必须为matrix

posted @ 2013-12-18 20:55  lanmiao  阅读(920)  评论(0编辑  收藏  举报