Code example for ZoomButtonsController

Methods: setVisible

0
    @Override 
    public boolean onTouchEvent(MotionEvent ev) {
        super.onTouchEvent(ev);
        if (zoom_controll != null){
            // Hide the controlls AFTER they where made visible by the default implementation. 
            zoom_controll.setVisible(false);
        } 
        return true; 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java