SurfaceView shows black screen - Android

后端 未结 5 1626
情话喂你
情话喂你 2020-12-19 04:55

Basically I want to use SurfaceView for animation. Therefore the class implements Runnable. To experiment, I want to draw a circle. However, it shows only a black screen.

5条回答
  •  渐次进展
    2020-12-19 05:17

    Make sure you have given Camera Permission otherwise SurfaceView shows black screen.

提交回复
热议问题