You need to use FrameLayout and than you can overlap the VideoView on
top of SurfaceView

On Mar 19, 1:46 am, Latha Shivanna <[email protected]> wrote:
> Hii All
>
> I need your help/suggestion on this issue.
>
> In my application, i have a surfaceView and a videoView which are
> occupying the full screen.
>
> SurfaceView is on the top and thus VideoView is hidden below.
>
> But i need to see both SurfaceView and VideoView together. How do i
> achieve this?
>
> I tried giving
>
> surfaceholder.setFormat(PixelFormat.RGBA_8888);
>
> and tried even this:
>
> surfaceholder_push.setFormat(PixelFormat.TRANSLUCENT);
>
> But nothing seem to bring my VIdeoView on my SurfaceView :(
>
> Can anyone please suggest something. I would appreciate your help.
>
> thanks in advance,
> Latha

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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.
  • [android-deve... Latha Shivanna
    • [android... Fred Grott(Android Expert, http://mobilebytes.wordpress.com)

Reply via email to