i have a custom imageview class for pinch to zoom image , but its use
setScaleType(ScaleType.MATRIX);
by default if i remove this line from class