@ Override public void updateScale ( float verticalDragOffset ) { ViewHelper . setScaleX ( getView ( ) , 1 - verticalDragOffset / getXScaleFactor ( ) ) ; ViewHelper . setScaleY ( getView ( ) , 1 - verticalDragOffset / getYScaleFactor ( ) ) ; }
Uses Nineoldandroids to change the scale .