问题
I have a 3d model viewer, but I want to modify it, so hear are some questions/issues:
(OpenGL ES 2.0)
1. Is it possible to change the GLSurfaceView dimensions (height and width) to something like 600 x 800 and centered on the device (tablet) screen? I want to use the unused area to line buttons around the outside.
2. Is it possible to resize glSurfaceView in XML?
3. Is there a way to set an XML layout on top of the screen?
4. Is it possible to set a background color under the rendering so that it's not all black?
For reference as to what I'm trying to achieve, search "STL Viewer" on the android market.
来源:https://stackoverflow.com/questions/8772783/android-how-do-i-resize-the-glsurfaceview-so-i-can-add-buttons-around-the-outsi