开发者

How do I overlay a textview over a glsufaceview(android)

Ive been following the android opengl tutorials at http://blog.jayway.com/2009/12/03/opengl-es-tutorial-for-android-part-i/ and have searched on how to go about adding a hud type display. The si开发者_如何学Gomplest solution seems to be to overlay a textview over the glsurfaceview but I cannot find any examples online.Does anyone know of any examples??


Simply include both views in your layout, one on top of the other like so:

<merge>
      <your.package.YourGLSurfaceView/>
      <TextView .../>
</merge>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜