Hi,

I have one FrameLayout and put two SurfaceViews inside. Both stretch
out vertically and horizontally to fill the parent. I thought that
when I set the background property of the higher SurfaceView to
transparent (#00000000) I could use it as an overlay to the lower
SurfaceView.

This does not seem to be the case, what am I getting wrong here?

What is the best way to overlay items to a SurfaceView. Is the
solution to take a second SurfaceView for the items drawn to overlay
(e.g. images) not correct? I wanted to use one SurfaceView for the
complete overlay that consists of images. This way the actual view
(the lower SurfaceView) and the annotations through the overlay would
be seperated. Is there a better way to do this? My lower view is a
SurfaceView, I can't change that. The overlaying view can be something
else rather than a SurfaceView, but I would prefer a SurfaceView.

Thanks,
Chris




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