Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Android game layout problems

$
0
0

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.

 

 

 


Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>