[M2-P v1.0.0]宣传视频全屏播放(拉伸铺满)
This commit is contained in:
@@ -3,6 +3,7 @@ package com.mogo.och.bus.passenger.ui.widget.video
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import com.shuyu.gsyvideoplayer.utils.Debuger
|
||||
import com.shuyu.gsyvideoplayer.utils.GSYVideoType
|
||||
import com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer
|
||||
|
||||
/**
|
||||
@@ -16,6 +17,7 @@ class AdvanceGSYVideoPlayer: StandardGSYVideoPlayer {
|
||||
|
||||
init {
|
||||
hideWidget()
|
||||
GSYVideoType.setShowType(com.shuyu.gsyvideoplayer.utils.GSYVideoType.SCREEN_MATCH_FULL)
|
||||
}
|
||||
|
||||
override fun hideAllWidget() {
|
||||
|
||||
Reference in New Issue
Block a user