浏览代码

1.优化游戏结算页面UI

王鹏鹏 1 年之前
父节点
当前提交
5ae16190ab

+ 2 - 0
.idea/misc.xml

@@ -557,7 +557,9 @@
         <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/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" />
+        <entry key="..\:/workspace/hcp-pads/superplayerkit/src/main/res/layout/superplayer_vod_vipwatch_view.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pads/webview/src/main/res/layout/activity_bridge_web.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pads/webview/src/main/res/layout/activity_tencent_webview.xml" value="0.22239583333333332" />
         <entry key="..\:/workspace/hcp-pads/webview/src/main/res/layout/activity_webview.xml" value="0.23697916666666666" />

+ 2 - 2
superplayerkit/src/main/java/com/tencent/liteav/demo/superplayer/ui/player/FullScreenPlayer.java

@@ -1200,12 +1200,12 @@ public class FullScreenPlayer extends AbsPlayer implements View.OnClickListener,
 
     public void setVodSelectionViewPositionAndData(List<TXTrackInfo> models) {
         mVodSoundTrackView.setModelList(models);
-        mIvSoundTrack.setVisibility(models.size() == 0 ? GONE : VISIBLE);
+//        mIvSoundTrack.setVisibility(models.size() == 0 ? GONE : VISIBLE);
     }
 
     public void setVodSubtitlesViewPositionAndData(List<TXTrackInfo> models) {
         mVodSubtitlesView.setModelList(models);
-        mIvSubtitle.setVisibility(models.size() == 0 ? GONE : VISIBLE);
+//        mIvSubtitle.setVisibility(models.size() == 0 ? GONE : VISIBLE);
     }
 
     /**

+ 6 - 2
superplayerkit/src/main/res/layout/superplayer_vod_player_fullscreen.xml

@@ -28,7 +28,7 @@
                 android:layout_gravity="center_vertical"
                 android:layout_marginLeft="20dp"
                 android:gravity="right"
-                android:visibility="visible"
+                android:visibility="gone"
                 android:src="@drawable/superplayer_multi_audio"/>
 
             <ImageView
@@ -38,7 +38,7 @@
                 android:layout_gravity="center_vertical"
                 android:layout_marginLeft="20dp"
                 android:gravity="right"
-                android:visibility="visible"
+                android:visibility="gone"
                 android:src="@drawable/superplayer_multi_subtitle"/>
 
             <ImageView
@@ -58,6 +58,7 @@
                 android:layout_gravity="center_vertical"
                 android:layout_marginLeft="20dp"
                 android:gravity="right"
+                android:visibility="gone"
                 android:src="@drawable/superplayer_ic_danmuku_off" />
 
             <ImageView
@@ -67,6 +68,7 @@
                 android:layout_gravity="center_vertical"
                 android:layout_marginLeft="20dp"
                 android:gravity="right"
+                android:visibility="gone"
                 android:src="@drawable/superplayer_ic_vod_snapshot_normal" />
 
             <ImageView
@@ -77,6 +79,7 @@
                 android:layout_marginLeft="20dp"
                 android:layout_marginRight="20dp"
                 android:gravity="right"
+                android:visibility="gone"
                 android:src="@drawable/superplayer_ic_vod_more_normal" />
 
         </LinearLayout>
@@ -289,6 +292,7 @@
             android:layout_height="wrap_content"
             android:layout_gravity="center_vertical"
             android:layout_marginLeft="20dp"
+            android:visibility="gone"
             android:src="@drawable/superplayer_btn_back_play" />
 
         <TextView

+ 1 - 0
superplayerkit/src/main/res/layout/superplayer_vod_player_window.xml

@@ -19,6 +19,7 @@
             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" />
 
         <TextView

+ 1 - 0
superplayerkit/src/main/res/layout/superplayer_vod_vipwatch_view.xml

@@ -50,6 +50,7 @@
             android:layout_height="@dimen/superplayer_media_controller_view_height"
             android:layout_gravity="center_vertical"
             android:layout_marginLeft="20dp"
+            android:visibility="gone"
             android:src="@drawable/superplayer_btn_back_play" />