public void setZoom(float scale) {
        setZoom(scale, 0.5f, 0.5f);
    }
Set zoom to the specified scale. Image will be centered by default.

@param scale
app/src/main/java/home/smart/fly/animations/customview/gallery/TouchImageView.java