Android-based floating video playing method
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- 中国广播电视网络集团有限公司
- Publication Date
- 2018-08-03
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to the field of communication technology, in particular to an Android-based video floating playback method. Background technique
[0002] At present, among the video playback applications in the Android market, there are relatively few applications that support floating window playback, and some mobile version webpages support the floating window playback effect on the browser side. The general video playback View layer is placed in the Activity / Fragment container. To achieve the floating window effect, you can simulate the effect of a small window with the layout file of the Activity / Fragment, and set the theme property of the Activity to be transparent. In this way, the Activity / Fragment Fragment can achieve a floating window playback effect when playing a video, but the actual video playback still exists in the Activity / Fragment, and the user can see the content of the subsequent Activity, but cannot operate the subsequent Acti...