I am working on an Android game like this:
![](https://uploads.gamedev.net/forums/monthly_2020_04/74eaf47e9d00494dbe64e13b360925cf.Screenshot_1585704456.png)
As you can see, I have a panel on the right. I want the panel's width and height to be WRAP_CONTENT and WRAP_CONTENT.
Also, there is a GLSurfaceView on the left. I want that to have a width that fills the remaining space.
How do I specify the width of the GLSurfaceView? It is neither WRAP_CONTENT, nor MATCH_PARENT.
Thank you.