hyzp_ybqx-Commit001:代码刚转换好,编译通过

This commit is contained in:
WinUser01
2021-12-09 20:24:36 +08:00
commit 8c74b14e5c
800 changed files with 66912 additions and 0 deletions
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@android:color/white" android:state_checked="true" />
<!-- not selected -->
<item android:color="@color/superplayer_color_gray" android:state_checked="false" />
</selector>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/superplayer_color_tint_red" android:state_selected="true" />
<item android:color="@color/superplayer_color_tint_red" android:state_checked="true" />
<item android:color="@color/superplayer_white" />
</selector>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape android:shape="line">
<stroke
android:width="2.0dip"
android:color="@color/superplayer_biz_audio_progress_first" />
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape android:shape="line">
<stroke
android:width="2.0dip"
android:color="@color/superplayer_biz_audio_progress_second" />
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape android:shape="line">
<stroke
android:width="2.0dip"
android:color="#FF584C" />
</shape>
</clip>
</item>
</layer-list>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 高度40 -->
<size
android:width="20dp"
android:height="20dp" />
<!-- 圆角弧度 20 -->
<corners android:radius="10dp" />
<!-- 变化率 -->
<gradient
android:endColor="#eeeeee"
android:startColor="#eeeeee" />
<stroke
android:width="1dp"
android:color="#666666" />
</shape>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 高度10 此处设置宽度无效-->
<size android:height="20dp" />
<!-- 圆角弧度 10 -->
<corners android:radius="10dp" />
<!-- 变化率 定义从左到右的颜色不变 -->
<gradient
android:endColor="#888888"
android:startColor="#888888" />
</shape>
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 高度40 -->
<size
android:width="20dp"
android:height="20dp" />
<!-- 圆角弧度 20 -->
<corners android:radius="10dp" />
<!-- 变化率 -->
<gradient
android:endColor="#eeeeee"
android:startColor="#eeeeee" />
<stroke
android:width="1dp"
android:color="#33da33" />
</shape>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 高度20 -->
<size android:height="20dp" />
<!-- 圆角弧度 10 -->
<corners android:radius="10dp" />
<!-- 变化率 -->
<gradient
android:endColor="#33da33"
android:startColor="#33da33" />
</shape>
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape>
<corners android:radius="5dip" />
<gradient
android:angle="270"
android:centerColor="#fff"
android:centerY="0.75"
android:endColor="#fff"
android:startColor="#fff" />
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:angle="270"
android:centerColor="#0accac"
android:centerY="0.75"
android:endColor="#0accac"
android:startColor="#0accac" />
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:angle="270"
android:centerColor="#0accac"
android:centerY="0.75"
android:endColor="#0accac"
android:startColor="#0accac" />
</shape>
</clip>
</item>
</layer-list>
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape>
<gradient
android:endColor="@color/superplayer_biz_audio_progress_second"
android:startColor="@color/superplayer_biz_audio_progress_second" />
</shape>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<gradient
android:endColor="@color/superplayer_white"
android:startColor="@color/superplayer_white" />
</shape>
</clip>
</item>
</layer-list>
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色:这里设置背景透明 -->
<solid android:color="@color/superplayer_default_bg" />
<!-- 边框的颜色 :不能和窗口背景色一样-->
<stroke
android:width="1dp"
android:color="@color/superplayer_default_bg" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="5dip" />
<!-- padding:Button里面的文字与Button边界的间隔 -->
<padding
android:bottom="5dp"
android:left="5dp"
android:right="5dp"
android:top="5dp" />
</shape>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="20dp" />
<solid android:color="@color/superplayer_super_vod_vtt_bg" />
</shape>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 按钮的选择器,可以设置按钮在不同状态下的时候,按钮不同的颜色 -->
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_checked="true" android:drawable="@drawable/superplayer_green_thumb" />
<item android:drawable="@drawable/superplayer_gray_thumb" />
</selector>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 底层下滑条的样式选择器,可控制Switch在不同状态下,底下下滑条的颜色 -->
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_checked="true" android:drawable="@drawable/superplayer_green_track" />
<item android:drawable="@drawable/superplayer_gray_track" />
</selector>
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/superplayer_iv"
android:layout_width="120dp"
android:layout_height="68dp"
android:layout_marginBottom="10dp"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/superplayer_tv_duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@+id/superplayer_iv"
android:layout_alignBottom="@+id/superplayer_iv"
android:layout_marginRight="5dp"
android:layout_marginBottom="5dp"
android:text="00:00"
android:textColor="@color/superplayer_white"
android:textSize="12dp" />
<TextView
android:id="@+id/superplayer_tv"
android:layout_width="match_parent"
android:layout_height="68dp"
android:layout_marginLeft="10dp"
android:layout_marginBottom="10dp"
android:layout_toRightOf="@+id/superplayer_iv"
android:gravity="center_vertical"
android:text="@string/superplayer_test_video"
android:textColor="@color/superplayer_white"
android:textSize="14dp" />
</RelativeLayout>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/superplayer_iv_snap"
android:layout_width="90dp"
android:layout_height="60dp"
android:src="@drawable/superplayer_ic_play" />
</LinearLayout>
@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/superplayer_super_vod_vtt_bg"
android:padding="20dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:orientation="horizontal"
android:paddingRight="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingRight="20dp"
android:text="@string/superplayer_sound"
android:textColor="@color/superplayer_white"
android:textSize="14dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@drawable/superplayer_ic_volume_min" />
<SeekBar
android:id="@+id/superplayer_sb_audio"
style="@android:style/Widget.Holo.SeekBar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:max="100"
android:progressDrawable="@drawable/superplayer_biz_video_progressbar"
android:thumb="@drawable/superplayer_ic_vod_thumb" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="0"
android:src="@drawable/superplayer_ic_volume_max" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:orientation="horizontal"
android:paddingRight="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingRight="20dp"
android:text="@string/superplayer_brightness"
android:textColor="@color/superplayer_white"
android:textSize="14dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@drawable/superplayer_ic_light_min" />
<SeekBar
android:id="@+id/superplayer_sb_light"
style="@android:style/Widget.Holo.SeekBar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:max="100"
android:progressDrawable="@drawable/superplayer_biz_video_progressbar"
android:thumb="@drawable/superplayer_ic_vod_thumb" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="0"
android:src="@drawable/superplayer_ic_light_max" />
</LinearLayout>
<LinearLayout
android:id="@+id/superplayer_ll_speed"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingRight="10dp"
android:text="@string/superplayer_multi_speed_playback"
android:textColor="@color/superplayer_white"
android:textSize="14dp" />
<RadioGroup
android:id="@+id/superplayer_rg"
android:layout_width="match_parent"
android:layout_height="60dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<RadioButton
android:id="@+id/superplayer_rb_speed1"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="1.0X"
android:textColor="@color/superplayer_vod_player_text_color" />
<RadioButton
android:id="@+id/superplayer_rb_speed125"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:button="@null"
android:gravity="center"
android:text="1.25X"
android:textColor="@color/superplayer_vod_player_text_color" />
<RadioButton
android:id="@+id/superplayer_rb_speed15"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:button="@null"
android:gravity="center"
android:text="1.5X"
android:textColor="@color/superplayer_vod_player_text_color" />
<RadioButton
android:id="@+id/superplayer_rb_speed2"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:button="@null"
android:gravity="center"
android:text="2.0X"
android:textColor="@color/superplayer_vod_player_text_color" />
</RadioGroup>
</LinearLayout>
<LinearLayout
android:id="@+id/superplayer_ll_mirror"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingRight="10dp"
android:text="@string/superplayer_mirror"
android:textColor="@color/superplayer_white"
android:textSize="14dp" />
<Switch
android:id="@+id/superplayer_switch_mirror"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_gravity="center"
android:textOff=" "
android:textOn=" "
android:thumb="@drawable/superplayer_thumb"
android:track="@drawable/superplayer_track" />
</LinearLayout>
<LinearLayout
android:id="@+id/superplayer_ll_enable_accelerate"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingRight="10dp"
android:text="@string/superplayer_hardware_Acceleration"
android:textColor="@color/superplayer_white"
android:textSize="14dp" />
<Switch
android:id="@+id/superplayer_switch_accelerate"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_gravity="center"
android:textOff=" "
android:textOn=" "
android:thumb="@drawable/superplayer_thumb"
android:track="@drawable/superplayer_track" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="50dp"
android:duplicateParentState="true">
<TextView
android:id="@+id/superplayer_tv_quality"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:textColor="@color/superplayer_vod_player_text_color"
android:textSize="16dp" />
</RelativeLayout>
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="@color/superplayer_super_vod_vtt_bg">
<TextView
android:id="@+id/superplayer_tv_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:gravity="center"
android:text="@string/superplayer_sharpness"
android:textColor="@color/superplayer_white"
android:textSize="14dp" />
<ListView
android:id="@+id/superplayer_lv_quality"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/superplayer_tv_title"
android:layout_marginTop="50dp"
android:choiceMode="singleChoice"></ListView>
</RelativeLayout>
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/superplayer_ll_progress_head"
android:layout_width="160dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/superplayer_iv_progress_thumbnail"
android:layout_width="160dp"
android:layout_height="90dp"
android:visibility="gone" />
<TextView
android:id="@+id/superplayer_tv_progress_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:textColor="@color/superplayer_white"
android:textSize="16sp" />
<ProgressBar
android:id="@+id/superplayer_pb_progress_bar"
style="@style/SuperPlayerAppProgressBarStyle"
android:layout_width="100dp"
android:layout_height="2dp"
android:layout_below="@id/superplayer_ll_progress_head"
android:layout_marginTop="8dp"
android:max="100"
android:progress="0"
android:progressDrawable="@drawable/superplayer_laylist_vod_video_progress" />
</LinearLayout>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/superplayer_ll_progress_head"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/superplayer_iv_center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true" />
<ProgressBar
android:id="@+id/superplayer_pb_progress_bar"
style="@style/SuperPlayerAppProgressBarStyle"
android:layout_width="100dp"
android:layout_height="2dp"
android:layout_below="@id/superplayer_ll_progress_head"
android:layout_marginTop="8dp"
android:max="100"
android:progress="0"
android:progressDrawable="@drawable/superplayer_laylist_vod_video_progress" />
</LinearLayout>
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="320dp"
android:layout_height="180dp"
android:background="@color/superplayer_black">
<com.tencent.rtmp.ui.TXCloudVideoView
android:id="@+id/superplayer_float_cloud_video_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ImageView
android:id="@+id/superplayer_iv_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
android:src="@drawable/superplayer_ic_float_close" />
</RelativeLayout>
@@ -0,0 +1,241 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/superplayer_rl_top"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="@drawable/superplayer_ic_vod_cover_top"
android:orientation="horizontal">
<!--标题-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/superplayer_media_controller_view_height"
android:background="@drawable/superplayer_top_shadow"
android:gravity="left"
android:orientation="horizontal">
<ImageView
android:id="@+id/superplayer_iv_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:src="@drawable/superplayer_btn_back_play" />
<TextView
android:id="@+id/superplayer_tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/superplayer_small_video_special_effects_editing"
android:textColor="@android:color/white"
android:textSize="11dp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="@dimen/superplayer_media_controller_view_height"
android:layout_alignParentRight="true"
android:layout_gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:id="@+id/superplayer_iv_danmuku"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:gravity="right"
android:src="@drawable/superplayer_ic_danmuku_off" />
<ImageView
android:id="@+id/superplayer_iv_snapshot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:gravity="right"
android:src="@drawable/superplayer_ic_vod_snapshot_normal" />
<ImageView
android:id="@+id/superplayer_iv_more"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:gravity="right"
android:src="@drawable/superplayer_ic_vod_more_normal" />
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:id="@+id/superplayer_ll_bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/superplayer_bottom_shadow"
android:orientation="horizontal">
<!--播放/暂停-->
<ImageView
android:id="@+id/superplayer_iv_pause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:src="@drawable/superplayer_ic_vod_pause_normal" />
<!--播放位置-->
<TextView
android:id="@+id/superplayer_tv_current"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="00:00"
android:textColor="@android:color/white"
android:textSize="11.0sp" />
<com.tencent.liteav.demo.superplayer.ui.view.PointSeekBar
android:id="@+id/superplayer_seekbar_progress"
android:layout_width="0.0dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="5.0dip"
android:layout_marginRight="5.0dip"
android:layout_weight="1.0"
app:psb_backgroundColor="@color/superplayer_biz_audio_progress_second"
app:psb_max="100"
app:psb_progress="0"
app:psb_progressColor="#FF584C"
app:psb_progressHeight="2dp"
app:psb_thumbBackground="@drawable/superplayer_ic_vod_thumb" />
<!--总时长-->
<TextView
android:id="@+id/superplayer_tv_duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="00:00"
android:textColor="@android:color/white"
android:textSize="11.0sp" />
<TextView
android:id="@+id/superplayer_tv_quality"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:layout_marginEnd="5dp"
android:gravity="center_vertical"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:text="@string/superplayer_original_picture"
android:textColor="@android:color/white"
android:textSize="11dp" />
</LinearLayout>
<TextView
android:id="@+id/superplayer_large_tv_vtt_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/superplayer_ll_bottom"
android:layout_marginBottom="2dp"
android:background="@drawable/superplayer_shape_vtt_text_bg"
android:gravity="center"
android:paddingLeft="10dp"
android:paddingTop="5dp"
android:paddingRight="10dp"
android:paddingBottom="5dp"
android:text=""
android:textColor="@color/superplayer_white"
android:textSize="14sp"
android:visibility="gone" />
<com.tencent.liteav.demo.superplayer.ui.view.VodQualityView
android:id="@+id/superplayer_vod_quality"
android:layout_width="300dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:visibility="gone" />
<com.tencent.liteav.demo.superplayer.ui.view.VodMoreView
android:id="@+id/superplayer_vod_more"
android:layout_width="300dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:visibility="gone" />
<ImageView
android:id="@+id/superplayer_iv_lock"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_centerVertical="true"
android:layout_marginLeft="30dp"
android:src="@drawable/superplayer_ic_player_unlock" />
<LinearLayout
android:id="@+id/superplayer_ll_replay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:orientation="vertical"
android:padding="10dp"
android:visibility="gone">
<ImageView
android:id="@+id/superplayer_iv_replay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/superplayer_ic_replay" />
</LinearLayout>
<TextView
android:id="@+id/superplayer_tv_back_to_live"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/superplayer_ll_bottom"
android:layout_centerHorizontal="true"
android:layout_marginBottom="16dp"
android:background="@drawable/superplayer_shape_round_bg"
android:text="@string/superplayer_back_live"
android:visibility="gone" />
<ProgressBar
android:id="@+id/superplayer_pb_live"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone" />
<com.tencent.liteav.demo.superplayer.ui.view.VolumeBrightnessProgressLayout
android:id="@+id/superplayer_gesture_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center" />
<com.tencent.liteav.demo.superplayer.ui.view.VideoProgressLayout
android:id="@+id/superplayer_video_progress_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center" />
<ImageView
android:id="@+id/superplayer_large_iv_water_mark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />
</RelativeLayout>
@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!--标题-->
<LinearLayout
android:id="@+id/superplayer_rl_top"
android:layout_width="match_parent"
android:layout_height="@dimen/superplayer_media_controller_view_height"
android:background="@drawable/superplayer_top_shadow"
android:gravity="left"
android:orientation="horizontal">
<ImageView
android:id="@+id/superplayer_iv_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:src="@drawable/superplayer_btn_back_play" />
<TextView
android:id="@+id/superplayer_tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/superplayer_small_video_special_effects_editing"
android:textColor="@android:color/white"
android:textSize="11dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/superplayer_ll_bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/superplayer_bottom_shadow"
android:orientation="horizontal">
<!--播放/暂停-->
<ImageView
android:id="@+id/superplayer_iv_pause"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:src="@drawable/superplayer_ic_vod_pause_normal" />
<!--播放位置-->
<TextView
android:id="@+id/superplayer_tv_current"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="00:00"
android:textColor="@android:color/white"
android:textSize="11.0sp" />
<com.tencent.liteav.demo.superplayer.ui.view.PointSeekBar
android:id="@+id/superplayer_seekbar_progress"
android:layout_width="0.0dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="5.0dip"
android:layout_marginRight="5.0dip"
android:layout_weight="1.0"
app:psb_backgroundColor="@color/superplayer_biz_audio_progress_second"
app:psb_max="100"
app:psb_progress="0"
app:psb_progressColor="#FF584C"
app:psb_progressHeight="2dp"
app:psb_thumbBackground="@drawable/superplayer_ic_vod_thumb" />
<!--总时长-->
<TextView
android:id="@+id/superplayer_tv_duration"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="00:00"
android:textColor="@android:color/white"
android:textSize="11.0sp" />
<ImageView
android:id="@+id/superplayer_iv_fullscreen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_gravity="center_vertical"
android:src="@drawable/superplayer_ic_vod_fullscreen" />
</LinearLayout>
<!--重播-->
<LinearLayout
android:id="@+id/superplayer_ll_replay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:orientation="vertical"
android:padding="10dp"
android:visibility="gone">
<ImageView
android:id="@+id/superplayer_iv_replay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/superplayer_ic_replay" />
</LinearLayout>
<TextView
android:id="@+id/superplayer_tv_back_to_live"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/superplayer_ll_bottom"
android:layout_centerHorizontal="true"
android:layout_marginBottom="16dp"
android:background="@drawable/superplayer_shape_round_bg"
android:text="@string/superplayer_back_live"
android:visibility="gone" />
<ProgressBar
android:id="@+id/superplayer_pb_live"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone" />
<com.tencent.liteav.demo.superplayer.ui.view.VolumeBrightnessProgressLayout
android:id="@+id/superplayer_gesture_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true" />
<com.tencent.liteav.demo.superplayer.ui.view.VideoProgressLayout
android:id="@+id/superplayer_video_progress_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center" />
<ImageView
android:id="@+id/superplayer_small_iv_water_mark"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />
<ImageView
android:id="@+id/superplayer_small_iv_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone" />
</RelativeLayout>
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.tencent.rtmp.ui.TXCloudVideoView
android:id="@+id/superplayer_cloud_video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true" />
<com.tencent.liteav.demo.superplayer.ui.player.WindowPlayer
android:id="@+id/superplayer_controller_small"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.tencent.liteav.demo.superplayer.ui.player.FullScreenPlayer
android:id="@+id/superplayer_controller_large"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.tencent.liteav.demo.superplayer.ui.view.DanmuView
android:id="@+id/superplayer_danmuku_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.tencent.liteav.demo.superplayer.ui.player.FloatPlayer
android:id="@+id/superplayer_controller_float"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="superplayer_white">#ffffff</color>
<color name="superplayer_black">#000000</color>
<color name="superplayer_transparent">#00000000</color>
<color name="superplayer_biz_audio_progress_bg">#00b2ff</color>
<color name="superplayer_biz_audio_progress_first">#ffffff</color>
<color name="superplayer_biz_audio_progress_second">#6b6666</color>
<color name="superplayer_super_vod_vtt_bg">#7E000000</color>
<color name="superplayer_default_bg">#aa000000</color>
<!-- 裁剪范围颜色 -->
<color name="superplayer_color_tint_red">#FF4C58</color>
<!--special color-->
<color name="superplayer_black_a10_color">#1a000000</color>
<!--gray4-->
<color name="superplayer_color_gray">#787878</color>
<color name="superplayer_default_progress_color">#FF4081</color>
<color name="superplayer_default_progress_background_color">#BBBBBB</color>
</resources>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="superplayer_media_controller_view_height">48dip</dimen>
</resources>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="superplayer_hardware_Acceleration">硬件加速</string>
<string name="superplayer_mirror">镜像</string>
<string name="superplayer_multi_speed_playback">多倍速播放</string>
<string name="superplayer_brightness">亮度</string>
<string name="superplayer_sound">声音</string>
<string name="superplayer_sharpness">清晰度</string>
<string name="superplayer_back_live">返回直播</string>
<string name="superplayer_small_video_special_effects_editing"></string>
<string name="superplayer_original_picture">原画</string>
<string name="superplayer_test_video">测试视频</string>
<string name="superplayer_screenshot_fail">截图失败</string>
<string name="superplayer_float_play_fail">悬浮播放失败</string>
<string name="superplayer_enter_setting_fail">进入设置页面失败,请手动开启悬浮窗权限</string>
</resources>
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="SuperPlayerAppProgressBarStyle">
<item name="android:indeterminateOnly">false</item>
<item name="android:progressDrawable">@drawable/superplayer_layer_list_progress_bar</item>
</style>
<declare-styleable name="SuperPlayerTCPointSeekBar">
<attr name="psb_thumbBackground" format="reference" />
<attr name="psb_backgroundColor" format="color" />
<attr name="psb_progressColor" format="color" />
<attr name="psb_progress" format="integer" />
<attr name="psb_max" format="integer" />
<attr name="psb_progressHeight" format="dimension" />
</declare-styleable>
</resources>