Multiple active overlapping surface views, of any sort, are not currently
supported by the framework.  You may get them to work, but it is mostly due
to luck -- the view hierarchy does not define the Z-ordering of those
surfaces, nor try to ensure they are Z-ordered in any particular way, so
this may change for whatever reason.

On Sun, Sep 20, 2009 at 6:14 PM, SChaser <[email protected]> wrote:

>
> How would one render the overlay in the main window while the other
> views are active (or at all, for that matter)? I am interesting in
> overlaying OpenGL over a camera preview. What is the way to get the
> GLSurfaceView object when it is an overlay?
>
>
> On Jul 30, 6:40 am, Dianne Hackborn <[email protected]> wrote:
> > It's probably not the best way, but right now you simply can not have
> > multiple overlapping surface views in a window, so the only way to
> achieve
> > this is to render the overlay in the main window.
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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