Android Application Development Cookbook Second Edition by 2016

Android Application Development Cookbook Second Edition by 2016

Author:2016
Language: eng
Format: epub
Publisher: Packt Publishing


See also

See the next recipe, Pinch-to-zoom with multi-touch gestures, for multi-touch gestures

Pinch-to-zoom with multi-touch gestures

The previous recipe used the SimpleOnGestureListener to provide detection of simple, one-finger, gestures. In this recipe, we will demonstrate multi-touch with the common pinch-to-zoom gesture using the SimpleOnScaleGestureListener class.

The following screenshot shows the icon zoomed out using the application created in the following recipe:

The following screenshot shows the icon zoomed in:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.