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?
Asked
Active
Viewed 3,713 times
1 Answers
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