Code example for ZoomButtonsController

Methods: setOnZoomListener

0
		setFocusable(true);
		scroller = new Scroller(context);
		gestureDetector = new GestureDetector(context, this);
		scaleGestureDetector = new ScaleGestureDetector(context, this);
 
		zoomController = new ZoomButtonsController(this);
		zoomController.setOnZoomListener(this);
 
		matrix = new Matrix();
		destination = new float[2];
 
		// setVerticalScrollBarEnabled(true); 
		// setHorizontalScrollBarEnabled(true); 
 
	} 
 
	/** 
	 * Displays a bitmap 
	 *  
	 * @param bitmap 
Connect your IDE to all the code out there  Get Codota for Java