Advertisement

Android game layout problems

Started by April 01, 2020 01:31 AM
1 comment, last by dhwanipatil 3 years, 8 months ago

I am working on an Android game like this:

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.

Which layout used in App?

None

This topic is closed to new replies.

Advertisement