Look at the API demo for doing overlays on top of a surface view.

On Tue, Dec 9, 2008 at 1:11 AM, chabfive <chabf...@gmail.com> wrote:

>
> Hi everyone,
>
> I have some problems to draw primitives on a SurfaceView's canvas and
> to display a video on another SurfaceView in the same time.
>
> When I start the video, this one works but primitives which are
> previously displayed are no more displayed. Because
> SurfaceHolder.lockCanvas() return null.
>
> I used a RelativeLayout and two SurfaceViews.
>
> Somebody have any idea?
>
> Thanks.
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to