attachView

Attaches a view to the surface. View can be attached only once and should not be detached after.