Monday 12 January 2015

Pinch Gesture in Android.

* One of the cool applications of multitouch is the pinch gesture,which is used for zooming.

* The idea is that if you place two fingers on the screen and spread them apart,the application should
respond by zooming in.If your fingers come together,the application should zoom out.

* The application is usually showing images,which could be maps.

* GestureDetecter class is used to implement this.

* Its purpose in life is to receive MotionEvent objects and tell us when a sequence of events looks
like a common gesture.

No comments:

Post a Comment