I'm programming a turntable game view by LuckyPan from github. As you see, it extends a SurfaceView
.
And here is my problem:
SurfaceView
which has a transparent background;setZOrderOnTop(true)
— I found it to make a transparent background, but it made SurfaceView
above everything in the APP;So, does anyone has a way can do one of these:
Make SurfaceView
have a transparent background without using setZOrderOnTop(true)
.
OR
Set a view above the SurfaceView
which have already calling setZOrderOnTop(true)
.
Is this a bug of the SurfaceView
that always has a not transparent background unless using the setZOrderOnTop(true)
? If it is, why google hasn't fix it for more than ten years? Or is there something I missed?
Thanks for helping.
Make SurfaceView have a transparent background without using setZOrderOnTop(true)
surface.setBackgroundColor(resources.getColor(R.color.transparent))
Forgot: transparent this is a color value in a colors.xml which holds a value "#0000000"
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
I have some client-side code built from wsdl via jax-ws way with command
We provide different type of authentication mechanisms for our users to authenticate our appOne of them is using smart cards certificates installed on it
So here is my node js http servers in A SINGLE program file, It's important that I am not running below 2 servers in 2 separate processesThey are running in same process