Use a FrameLayout & stack your TextView on top of GLSurfaceView. For a
sample see:
http://developer.android.com/resources/samples/ApiDemos/res/layout/surface_view_overlay.html
<http://developer.android.com/resources/samples/ApiDemos/res/layout/surface_view_overlay.html>
Regards,
Sudheer


On Thu, Jun 2, 2011 at 6:09 AM, EdwardComb <[email protected]> wrote:

> Thanks for your info.
>
> I tried that but seems like the whole view changed. What I mean is
> that what can i see
> on the screen is just the text that was not running on top of my
> application.
>
> I google again and found out that we cannot straight away display text
> on GLSurvaceView. (my mistake i didnt mention in the question)
>
> Thus, I tried to bind the text as texture on an object like a 2D
> square.
> As a result:
> 1) My FPS drop from ~16 to ~3
> 2) My application crash.
>
> any idea?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to