UiSettings setZoomGesturesEnabled - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for UiSettings setZoomGesturesEnabled method.

This code example shows how to use the following methods:setRotateGesturesEnabled, setScrollGesturesEnabled, setTiltGesturesEnabled, setZoomControlsEnabled, setZoomGesturesEnabled
package org.azavea.otm.ui; 
 
import org.azavea.otm.App; 
import org.azavea.otm.R; 
import org.azavea.otm.data.Plot; 
import org.json.JSONException; 
import org.json.JSONObject; 
 
import com.google.android.gms.maps.CameraUpdateFactory; 
import com.google.android.gms.maps.GoogleMap; 
import com.google.android.gms.maps.SupportMapFragment; 
import com.google.android.gms.maps.UiSettings; 
import com.google.android.gms.maps.model.BitmapDescriptorFactory; 
import com.google.android.gms.maps.model.LatLng; 
import com.google.android.gms.maps.model.Marker; 
import com.google.android.gms.maps.model.MarkerOptions; 
 
import android.app.Activity; 
import android.os.Bundle; 
import android.support.v4.app.FragmentManager; 

7
CodeRank
This code example shows how to use the following methods:setCompassEnabled, setMyLocationButtonEnabled, setRotateGesturesEnabled, setScrollGesturesEnabled, setTiltGesturesEnabled
This code example shows how to use the following methods:setAllGesturesEnabled, setCompassEnabled, setMyLocationButtonEnabled, setRotateGesturesEnabled, setScrollGesturesEnabled
This code example shows how to use the following methods:setZoomGesturesEnabled
    public void setZoomGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables zoom gestures (i.e., double tap, pinch & stretch). 
        mUiSettings.setZoomGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setTiltGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables tilt gestures. 
        mUiSettings.setTiltGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setRotateGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
5
CodeRank
This code example shows how to use the following methods:setZoomGesturesEnabled
    public void setZoomGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables zoom gestures (i.e., double tap, pinch & stretch). 
        mUiSettings.setZoomGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setTiltGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables tilt gestures. 
        mUiSettings.setTiltGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setRotateGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
4
CodeRank
This code example shows how to use the following methods:setZoomGesturesEnabled
    public void setZoomGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables zoom gestures (i.e., double tap, pinch & stretch). 
        mUiSettings.setZoomGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setTiltGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables tilt gestures. 
        mUiSettings.setTiltGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setRotateGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
4
CodeRank

Related UiSettings setZoomGesturesEnabled Questions & Answers:

setZoomGesturesEnabled Method Overview
Sets the preference for whether zoom gestures should be enabled or disabled.
See Code Examples for other Android UiSettings Methods: