加载中图片添加,注释progressbar
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
package com.mogo.module.v2x.view
|
package com.mogo.module.v2x.view
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.graphics.drawable.Drawable
|
|
||||||
import android.util.AttributeSet
|
import android.util.AttributeSet
|
||||||
import android.util.Log
|
import android.util.Log
|
||||||
import android.view.MotionEvent
|
|
||||||
import android.view.Surface
|
import android.view.Surface
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.widget.ImageView
|
import android.widget.ImageView
|
||||||
@@ -47,7 +45,7 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun getLayoutId(): Int {
|
override fun getLayoutId(): Int {
|
||||||
return R.layout.window_road_video
|
return R.layout.v2x_road_video_plyer_layout
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getGSYVideoManager(): GSYVideoViewBridge {
|
override fun getGSYVideoManager(): GSYVideoViewBridge {
|
||||||
|
|||||||
@@ -25,10 +25,11 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/thumbImage"
|
android:id="@+id/thumbImage"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="@dimen/dp_110"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="@dimen/dp_110"
|
||||||
android:layout_centerInParent="true"
|
android:layout_centerInParent="true"
|
||||||
android:scaleType="centerCrop" />
|
android:scaleType="centerCrop"
|
||||||
|
android:src="@drawable/v2x_icon_live_logo" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
@@ -70,13 +71,14 @@
|
|||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<!--GSYVideoControlView mLoadingProgressBar-->
|
<!--GSYVideoControlView mLoadingProgressBar-->
|
||||||
<ProgressBar
|
//加载中圈圈
|
||||||
android:id="@+id/loading"
|
<!-- <ProgressBar-->
|
||||||
android:layout_width="@dimen/dp_56"
|
<!-- android:id="@+id/loading"-->
|
||||||
android:layout_height="@dimen/dp_56"
|
<!-- android:layout_width="@dimen/dp_56"-->
|
||||||
android:layout_centerHorizontal="true"
|
<!-- android:layout_height="@dimen/dp_56"-->
|
||||||
android:layout_centerVertical="true"
|
<!-- android:layout_centerHorizontal="true"-->
|
||||||
android:indeterminateTint="#256BFF"
|
<!-- android:layout_centerVertical="true"-->
|
||||||
android:visibility="gone" />
|
<!-- android:indeterminateTint="#256BFF"-->
|
||||||
|
<!-- android:visibility="gone" />-->
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
Reference in New Issue
Block a user