[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.


Popular posts from this blog

Subclassing and Signal connect on a same widget crashes PySide application on exit.

Calling OpenCV functions via Cython from Python 3.X.

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