[地图样式]
This commit is contained in:
yangyakun
2023-08-04 16:22:36 +08:00
committed by zhongchao
parent dd30dbffcc
commit 05d0410074
6 changed files with 7 additions and 3 deletions

View File

@@ -153,9 +153,11 @@ class ConsultVideoPlayer : StandardGSYVideoPlayer {
override fun onWindowFocusChanged(hasWindowFocus: Boolean) {
super.onWindowFocusChanged(hasWindowFocus)
if(isIfCurrentIsFullscreen&&smalllPlayer!=null){
if(hasWindowFocus){//获取焦点
//onVideoResume()
}else{
if (hasWindowFocus) {//获取焦点
if (isInPlayingState && smalllPlayer!!.mCurrentState != CURRENT_STATE_PAUSE) {
onVideoResume()
}
} else {
onVideoPause()
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

View File

@@ -14,6 +14,8 @@
app:endPointDrawable="@drawable/taxi_p_map_view_dir_end"
app:carDrawable="@drawable/taxi_p_map_car"
app:compassDrawable="@drawable/taxi_p_map_car_light"
app:arrivedDrawable="@drawable/taxi_overmap_arrived"
app:unArrivedDrawable="@drawable/taxi_overmap_arriving"
app:mapStyleExtraPath="style_extra.data"
app:mapStylePath="style.data"
app:leftPadding="800"