2

I am new in android. I reviewed two examples Custom View with User Interaction and Android SurfaceView. I want that in second example draw cicle similarly with first example. How I can do this? Second question is: when the run() method has to stop?

Volodymyr
  • 6,393
  • 4
  • 53
  • 84

1 Answers1

3

I found solution. For correctly work of SurfaceView I had to set background of canvas. When I done it everything is working fine.

Volodymyr
  • 6,393
  • 4
  • 53
  • 84