[Android]onDraw not called (onDrawが呼ばれない)

I've been wondering onDraw(...) method of SurfaceView's child class is not called. I figured out it can be avoided setting its background color as android:background="@color/..." in layout xml file.

If you having same problem, try to set background color.

Comments

Popular posts from this blog

Calling OpenCV functions via Cython from Python 3.X.

How to update lookup fileld of Kintone using pykintone

Showing CPU/Memory usage on tmux status bar(tmuxのステータスバーにCPUとMemoryの使用状況を表示する)