Aug 12, 2011

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

No comments: