diff --git a/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/video/SimpleCoverVideoPlayer.kt b/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/video/SimpleCoverVideoPlayer.kt index 24bbaa8093..0a4ce844fd 100644 --- a/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/video/SimpleCoverVideoPlayer.kt +++ b/modules/mogo-module-tanlu/src/main/java/com/mogo/module/tanlu/video/SimpleCoverVideoPlayer.kt @@ -52,6 +52,7 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer { totalTime: Int ) { super.setProgressAndTime(progress, secProgress, currentTime, totalTime) + Log.e("liyz", "setProgressAndTime progress = $progress --->currentTime = $currentTime --->totalTime = $totalTime") if (progress != 0) { mProgressBar.progress = progress } @@ -128,7 +129,7 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer { v?.let { when (v) { start -> { - Log.d("liyz", "start --------->") + } else -> { @@ -137,12 +138,6 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer { } } - override fun onBufferingUpdate(percent: Int) { - super.onBufferingUpdate(percent) - Log.d("liyz", "onBufferingUpdate percent = " + percent) - } - - override fun onPrepared() { super.onPrepared() } diff --git a/modules/mogo-module-tanlu/src/main/res/drawable/small_video_seekbar_style.xml b/modules/mogo-module-tanlu/src/main/res/drawable/small_video_seekbar_style.xml index 80f30fbb27..7d1914a68b 100644 --- a/modules/mogo-module-tanlu/src/main/res/drawable/small_video_seekbar_style.xml +++ b/modules/mogo-module-tanlu/src/main/res/drawable/small_video_seekbar_style.xml @@ -15,7 +15,12 @@ - + + + + diff --git a/modules/mogo-module-tanlu/src/main/res/layout/tanlu_item_video_cover.xml b/modules/mogo-module-tanlu/src/main/res/layout/tanlu_item_video_cover.xml index 362eb31478..15c0e8e2c8 100644 --- a/modules/mogo-module-tanlu/src/main/res/layout/tanlu_item_video_cover.xml +++ b/modules/mogo-module-tanlu/src/main/res/layout/tanlu_item_video_cover.xml @@ -37,7 +37,6 @@ android:layout_width="match_parent" android:layout_height="@dimen/tanlu_module_full_bottom_height" android:layout_alignParentBottom="true" - android:layout_centerHorizontal="true" android:layout_marginBottom="@dimen/tanlu_module_full_bottom_margin" android:orientation="horizontal">