SurfaceView surfViewDraw = (SurfaceView) findViewById(R.id.surfVDraw);
surfViewDraw.setZOrderOnTop(true);
surfViewDraw.getHolder().setFormat(PixelFormat.TRANSLUCENT);
// surfViewDraw.setBackgroundResource(R.drawable.step_bg);
surfViewDraw.setBackgroundColor(0Xffffffff);
surHolder = surfViewDraw.getHolder();
沒有留言:
張貼留言