Code example for SurfaceHolder

Methods: setFormat, setSizeFromLayout