I have an imageview where i have implemented the TouchImageView class for zoom functionality. But i'm not able to set the scaletype. I want the initial scaletype to be centercrop but i dosen't work.
When i try
img.setScaleType(ScaleType.CENTER_CROP);
the zoom functionality stops working and the image becomes center-cropped. I want both to work together.
How can i make the initial image to be center cropped that is being selected from my SDcard into an imageview with zoom functionality.