我想实现以下那种比如在一个全屏surfaceview组件里,在播放视频,然后点击一下屏幕,下方一个半透明的那种悬浮框就出来了,有进度条啊,按钮啊,那些,然后可以操作,如果不操作过几秒又自动消失这种效果。目前这种的确没有思路,只能说一个界面上面是surfaceview,然后下面是进度条按钮,这种,感觉很不爽!
认证高级PHP讲师
Please refer to:
android.widget.VideoView
android.widget.MediaController
The official pitfall is that after VideoView#setVideoPath(...) / VideoView#setVideoURI(...) traffic will be generated and the video source will start to be loaded...
VideoView#setVideoPath(...)
VideoView#setVideoURI(...)
Please refer to:
android.widget.VideoView
android.widget.MediaController
The official pitfall is that after
VideoView#setVideoPath(...)
/VideoView#setVideoURI(...)
traffic will be generated and the video source will start to be loaded...