make AndroidGameView transparent

124 views Asked by At

I have AndroidGameView, and I want to make it transparent so View behind it could be seen in parts where OpenTk draw transparent textures. I have found some examples with GLSurfaceView but I couldn't make it work the same. Thanks for any help!

1

There are 1 answers

1
Sami Kuhmonen On

In the AndroidGameView initialization do this:

SetZOrderOnTop(true);
Holder.SetFormat(Format.Transparent);

After that the view will be transparent and you can see anything you have under it.