October 2018
Intermediate to advanced
464 pages
15h 17m
English
The previous recipe used SimpleOnGestureListener to provide detection of simple, one-finger gestures. In this recipe, we'll use the SimpleOnScaleGestureListener class to detect the common multi-touch gesture "pinch to zoom".
Here are two screenshots from the application we'll create in this recipe. The first shows the icon zoomed out:

This second screenshot shows the icon zoomed in:
