Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TextureView with transparency

Is it possible to have a TextureView that has transparency, so that views below it (z-order) are visible?

IOW parts of the TextureView are transparent, and the view that the TextureView is on top of shows through.

like image 798
Patrick Avatar asked Nov 30 '22 16:11

Patrick


1 Answers

You should use this API of TextureView.

TextureView.setOpaque(false);

It works fine!

like image 133
dragonfly Avatar answered Dec 04 '22 12:12

dragonfly