Answer the question
In order to leave comments, you need to log in
How to set transparent background in SurfaceView?
Hello.
The application has a view with a graph, on top of which there is another view, a descendant of SurfaceView. The SurfaceView is supposed to be able to draw various objects so that they are on top of the graph.
The following methods are currently being called in the SurfaceView constructor:
setZOrderOnTop(true);
getHolder().setFormat(PixelFormat.TRANSPARENT);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question