Code example for ToggleButton

Methods: setVisibility

0
			// mapView.getOverlays().remove(itemizedOverlay); 
			// circleOverlay = null; 
			// itemizedOverlay = null; 
			// } 
 
			mSnapToLocationView.setVisibility(View.GONE);
 
			return true; 
		} 
		return false; 
	} 
 
	/** 
	 * Returns the status of the "show my location" mode. 
	 * @return true if the "show my location" mode is enabled, false otherwise. 
	 */ 
	boolean isShowMyLocationEnabled() { 
		return mShowMyLocation;
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE