Code example for UiSettings

Methods: setRotateGesturesEnabled, setScrollGesturesEnabled, setTiltGesturesEnabled, setZoomControlsEnabled, setZoomGesturesEnabled

0
        } 
	 } 
	  
	 private void setUpMap() { 
		UiSettings mUiSettings = mMap.getUiSettings(); 
		mUiSettings.setZoomControlsEnabled(false); 
		mUiSettings.setScrollGesturesEnabled(false); 
		mUiSettings.setZoomGesturesEnabled(false); 
		mUiSettings.setTiltGesturesEnabled(false); 
		mUiSettings.setRotateGesturesEnabled(false); 
	 } 
	  
	  
	protected void setText(int resourceId, String text) { 
		// Only set the text if it exists, letting the layout define default text 
		if (text != null &&  !"".equals(text)) { 
			((TextView)findViewById(resourceId)).setText(text); 
		} 
	} 
 
}