Hi all,

I have a GLSurfaceview (surface1) added directly to the app window. In
addition there is other GLSurfaceView (surface2) added to a
ScrollView. What I want is to have the first surface on top, but I
need to put the second surface on top when scrolling to have its
background transparent in other case the scroll looks ugly.

So my idea was to set on top surface2 (using 'setZOrderOnTo(true)')
when scrolling and set on top surface1 when no scrolling, but some
times (maybe randomly) surface1 is drawn on the background after
scrolling despite I could check it was set on top.

It is like 'setZOrderOnTo(true)' was not working sometimes. Any idea
of what is wrong.

Thanks for helping
G

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