I am working on an android app, ideally containing these 3 elements in the following zOrder: -UI elements (buttons, UIText, ..) -on Top of an OpenGL Layer (GLSurfaceView) -on Top of a video Stream (TextureView)

I am not finding a way to display them in this order

I tried to order the 3 elements in the layout xml. Also I tried changing the zorder of elements. The problem is that GLSurfaceView will appear either on top or below everything, while i need it to be in the middle

0 Answers