android中设置ImageView偏移的方法之一
// Matrix matrix = new Matrix();
// matrix.postTranslate(toXDelta, 0);
// imageView.setImageMatrix(matrix);
注:ScaleType必须为matrix
// Matrix matrix = new Matrix();
// matrix.postTranslate(toXDelta, 0);
// imageView.setImageMatrix(matrix);
注:ScaleType必须为matrix