Code example for SurfaceView

Methods: setVisibility