# Gestures

As you may have seen from the Get Started example, a map view by default supports all common map gestures, for example, pinch and double tap to zoom in. The following table is a summary of the available gestures and their corresponding default behavior on the map.

 Tap the screen with one finger. This gesture does not have a predefined map action. To zoom the map in a fixed amount, tap the screen twice with one finger. Press and hold one finger to the screen. This gesture does not have a predefined map action. To move the map, press and hold one finger to the screen, and move it in any direction. The map will keep moving with a little momentum after the finger was lifted. To tilt the map, press and hold two fingers to the screen, and move them in a vertical direction. No behavior is predefined for other directions. To zoom out a fixed amount, tap the screen with two fingers. To zoom in or out continuously, press and hold two fingers to the screen, and increase or decrease the distance between them.

The HERE SDK for Android provides support for the following gestures:

• Tap: TapListener
• Double Tap: DoubleTapListener
• Long Press: LongPressListener
• Pan: PanListener
• Two Finger Pan: TwoFingerPanListener
• Two Finger Tap: TwoFingerTapListener
• Pinch Rotate: PinchRotateListener

Each listener provides a dedicated callback that informs you whenever the user performs an action that could be detected, for example, the beginning or the end of that specific gesture. Usually, you will want to add a specific behavior to your application after a gesture was detected, like placing a map marker after a long press.

Note that only one listener can be set at a time for the same gesture.

A usage example is available on GitHub as part of the gestures example app.