In order to offer embedded or fullscreen video, I attach the MediaPlayer to a SurfaceView which is inside a LinearLayout and then change the parent's padding values to reposition and resize the video.
This works on all devices except the Nexus One. On the Nexus One, as soon as the surface size changes it goes white so the audio continues but the video is lost. Each time the surface is resized, it's possible to see a single frame before it goes white again. Does anyone know if this is a bug or is there an alternative way to go to full screen? I do already call SurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS), without which the surface remains black throughout. As a workaround, I'm trying to launch a separate activity with a separate layout and pass the player through, but at the moment that's not working either. Should that be possible or can a MediaPlayer not be re-assigned to a new SurfaceView once it's started? Cheers, Kirwan -- 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

