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