@Override
        public boolean onScaleBegin(ScaleGestureDetector detector) {
            setState(State.ZOOM);
            return true;
        }
ScaleListener detects user two finger scaling and scales image.

@author Ortiz
app/src/main/java/home/smart/fly/animations/customview/gallery/TouchImageView.java