Browse Source

1.修改bug

王鹏鹏 2 years ago
parent
commit
ffc40b4ea9
2 changed files with 20 additions and 17 deletions
  1. 1 0
      .idea/misc.xml
  2. 19 17
      superplayerkit/src/main/res/layout/superplayer_vod_player_window.xml

+ 1 - 0
.idea/misc.xml

@@ -629,6 +629,7 @@
         <entry key="..\:/workspace/hcp-pads/push/src/main/res/layout/activity_messge_list.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pads/push/src/main/res/layout/item_push_list.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pads/push/src/main/res/layout/item_push_type.xml" value="0.23697916666666666" />
+        <entry key="..\:/workspace/hcp-pads/superplayerkit/src/main/res/drawable/superplayer_shape_round_bg.xml" value="0.1415" />
         <entry key="..\:/workspace/hcp-pads/superplayerkit/src/main/res/layout/superplayer_vod_player_fullscreen.xml" value="0.1" />
         <entry key="..\:/workspace/hcp-pads/superplayerkit/src/main/res/layout/superplayer_vod_player_window.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pads/superplayerkit/src/main/res/layout/superplayer_vod_view.xml" value="0.1" />

+ 19 - 17
superplayerkit/src/main/res/layout/superplayer_vod_player_window.xml

@@ -11,16 +11,16 @@
         android:layout_height="@dimen/superplayer_media_controller_view_height"
         android:background="@drawable/superplayer_top_shadow"
         android:gravity="left"
-        android:paddingLeft="20dp"
-        android:orientation="horizontal">
+        android:orientation="horizontal"
+        android:paddingLeft="20dp">
 
         <ImageView
             android:id="@+id/superplayer_iv_back"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_gravity="center_vertical"
-            android:visibility="gone"
-            android:src="@drawable/superplayer_btn_back_play" />
+            android:src="@drawable/superplayer_btn_back_play"
+            android:visibility="gone" />
 
         <TextView
             android:id="@+id/superplayer_tv_title"
@@ -45,17 +45,17 @@
         android:visibility="gone">
 
         <ImageView
-            android:tint="@color/superplayer_white"
             android:layout_width="25dp"
             android:layout_height="25dp"
-            android:src="@drawable/superplayer_ic_replay" />
+            android:src="@drawable/superplayer_ic_replay"
+            android:tint="@color/superplayer_white" />
 
         <TextView
-            android:textColor="@color/superplayer_white"
-            android:text="@string/superplayer_replay"
-            android:textSize="12sp"
             android:layout_width="wrap_content"
-            android:layout_height="wrap_content"/>
+            android:layout_height="wrap_content"
+            android:text="@string/superplayer_replay"
+            android:textColor="@color/superplayer_white"
+            android:textSize="12sp" />
 
     </LinearLayout>
 
@@ -99,8 +99,8 @@
     <ImageView
         android:id="@+id/superplayer_cover_view"
         android:layout_width="match_parent"
-        android:visibility="gone"
-        android:layout_height="match_parent" />
+        android:layout_height="match_parent"
+        android:visibility="gone" />
 
     <LinearLayout
         android:id="@+id/superplayer_ll_bottom"
@@ -150,17 +150,18 @@
             android:layout_height="wrap_content"
             android:layout_gravity="center_vertical"
             android:text="00:00"
+            android:paddingEnd="12dp"
             android:textColor="@android:color/white"
             android:textSize="11.0sp" />
 
         <ImageView
             android:id="@+id/superplayer_iv_play_next"
-            android:visibility="gone"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_centerInParent="true"
             android:layout_gravity="center_vertical"
-            android:src="@drawable/superplayer_play_next"/>
+            android:src="@drawable/superplayer_play_next"
+            android:visibility="gone" />
 
         <ImageView
             android:id="@+id/superplayer_iv_fullscreen"
@@ -168,7 +169,8 @@
             android:layout_height="wrap_content"
             android:layout_centerInParent="true"
             android:layout_gravity="center_vertical"
-            android:src="@drawable/superplayer_ic_vod_fullscreen" />
+            android:src="@drawable/superplayer_ic_vod_fullscreen"
+            android:visibility="gone" />
     </LinearLayout>
 
     <ProgressBar
@@ -198,6 +200,6 @@
         android:layout_alignParentRight="true"
         android:layout_centerVertical="true"
         android:layout_marginRight="10dp"
-        android:visibility="gone"
-        android:src="@drawable/superplayer_pip_play_icon" />
+        android:src="@drawable/superplayer_pip_play_icon"
+        android:visibility="gone" />
 </RelativeLayout>