Code example for SurfaceView

Methods: getHeight, getWidth