🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Android game layout problems

Started by
1 comment, last by dhwanipatil 3 years, 3 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.

Advertisement

Which layout used in App?

None

This topic is closed to new replies.

Advertisement