https://github.com/vivekrk/SurfaceView-Sample     is extended to remaining options