Home > Mobile >  The Android native video playback to switch to another app play video, application of a window is st
The Android native video playback to switch to another app play video, application of a window is st

Time:09-30



This is STB application development, the first figure is a set-top box home page has a video playback, then enter the set-top box and an app, play a video, home video playback window is still there, who knows how to solve this problem?

CodePudding user response:

Feel the video playback is on floating window, code location is set up

CodePudding user response:

This also don't know what there is to use the player, the current treatment is let me play my surfaceview window as to the top of the page, and then set the other controls setZOrderMediaOverlay (true)//the surfaceview as to the top, solve the problem of broadcast video has black box adaptation new box
SurfaceView. SetZOrderOnTop (true);
SurfaceView. SetZOrderMediaOverlay (true);
Problem solving and post
  • Related