surfaceview and view

Android Draw SurfaceView In Thread Example

SurfaceView is a view with a surface. It is a sub class of android.view.View. So it is similar with other views, it can receive user input on the screen, it also inherits all view life cycle callback functions.