replaced CustomView to SurfaceView.