I've created XML-layout and placed in it such views:
1)RelativeLayout with nested SurfaceView.
2)RelativeLayout with rotateable element.
This rotateable element should be over SurfaceView. But when I rotate element (only after that), it becomes hidden under SurfaceView. Also, I tried to fill canvas by transparent (alpha == 0) paint, but with no results.
Also, I tried to draw on the Canvas (I called getHolder() of SurfaceView and then lockCanvas(null) from SurfaceHolder) - but canvas is null.
1)RelativeLayout with nested SurfaceView.
2)RelativeLayout with rotateable element.
This rotateable element should be over SurfaceView. But when I rotate element (only after that), it becomes hidden under SurfaceView. Also, I tried to fill canvas by transparent (alpha == 0) paint, but with no results.
Also, I tried to draw on the Canvas (I called getHolder() of SurfaceView and then lockCanvas(null) from SurfaceHolder) - but canvas is null.