Merge branch 'yuqianwei' into dev_6.7.0
# Conflicts: # live/src/main/res/values/strings.xml
This commit is contained in:
5
live/src/main/res/drawable/bg_prank_bottom_detail.xml
Normal file
5
live/src/main/res/drawable/bg_prank_bottom_detail.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="6dp"/>
|
||||
<solid android:color="#8065615A"/>
|
||||
</shape>
|
||||
5
live/src/main/res/drawable/bg_prank_group.xml
Normal file
5
live/src/main/res/drawable/bg_prank_group.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="7dp"/>
|
||||
<solid android:color="#80727272"/>
|
||||
</shape>
|
||||
5
live/src/main/res/drawable/bg_prank_item.xml
Normal file
5
live/src/main/res/drawable/bg_prank_item.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="4dp"/>
|
||||
<solid android:color="#8065615A"/>
|
||||
</shape>
|
||||
5
live/src/main/res/drawable/bg_prank_item_subscript.xml
Normal file
5
live/src/main/res/drawable/bg_prank_item_subscript.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:topLeftRadius="4dp"/>
|
||||
<solid android:color="#A6848484"/>
|
||||
</shape>
|
||||
17
live/src/main/res/drawable/progress_prank_bg.xml
Normal file
17
live/src/main/res/drawable/progress_prank_bg.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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="1dp"/>
|
||||
<solid android:color="#FFA5A193"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape>
|
||||
<corners android:radius="1dp"/>
|
||||
<solid android:color="#FFFFC949"/>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
</layer-list>
|
||||
41
live/src/main/res/layout/item_combo_vote.xml
Normal file
41
live/src/main/res/layout/item_combo_vote.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:ignore="SmallSp"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_height="21dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/combo_item_icon"
|
||||
android:layout_width="14dp"
|
||||
android:layout_height="14dp"/>
|
||||
|
||||
<com.yunbao.common.views.weight.MarqueeTextView
|
||||
android:id="@+id/combo_item_prank_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif-condensed-medium"
|
||||
android:textSize="8sp"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginStart="1dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/combo_item_combo"
|
||||
android:layout_width="wrap_content"
|
||||
android:minWidth="12dp"
|
||||
android:gravity="center"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="3dp"
|
||||
android:textStyle="bold"
|
||||
android:text="12"
|
||||
android:textColor="#FFFFC949"
|
||||
android:textSize="8sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
104
live/src/main/res/layout/item_prank_progress.xml
Normal file
104
live/src/main/res/layout/item_prank_progress.xml
Normal file
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="3dp"
|
||||
android:background="@drawable/bg_prank_item"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="SmallSp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/prank_item_subscript"
|
||||
android:layout_width="11dp"
|
||||
android:layout_height="11dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_prank_item_subscript"
|
||||
android:textStyle="bold"
|
||||
android:text="8"
|
||||
android:textColor="#FFF9B003"
|
||||
android:textSize="8sp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="16dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/prank_item_icon"
|
||||
android:layout_marginEnd="3dp"
|
||||
android:layout_width="14dp"
|
||||
android:layout_height="14dp"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.yunbao.common.views.weight.MarqueeTextView
|
||||
android:id="@+id/prank_item_prank_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:fontFamily="sans-serif-condensed-medium"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="8sp"
|
||||
android:text="跳舞跳舞跳"/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/prank_item_progress"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2dp"
|
||||
android:progress="50"
|
||||
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
||||
android:progressDrawable="@drawable/progress_prank_bg" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="3dp"
|
||||
android:layout_marginEnd="3dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.yunbao.common.views.weight.MarqueeTextView
|
||||
android:id="@+id/prank_item_gift_name"
|
||||
android:layout_width="17dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="8sp"
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:ellipsize="marquee"
|
||||
android:text="气球"
|
||||
android:fontFamily="sans-serif-condensed-medium"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/prank_item_now_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="1dp"
|
||||
android:textStyle="bold"
|
||||
android:textSize="8sp"
|
||||
android:textColor="#FFFFC949"
|
||||
android:text="12"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/prank_item_total_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="6sp"
|
||||
android:text="/45"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -2396,6 +2396,32 @@
|
||||
android:gravity="bottom"
|
||||
android:orientation="vertical">
|
||||
|
||||
<!--整蛊进度列表-->
|
||||
<include
|
||||
android:id="@+id/prank_group"
|
||||
android:visibility="gone"
|
||||
layout="@layout/view_prank_group"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/prank_small_icon"
|
||||
android:layout_gravity="end"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:src="@mipmap/prank_icon"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/prank_group_turntable_icon"
|
||||
android:src="@mipmap/turntable_icon"
|
||||
android:layout_gravity="end"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="46dp"/>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/sud_game_min"
|
||||
android:layout_width="75dp"
|
||||
|
||||
79
live/src/main/res/layout/view_prank_group.xml
Normal file
79
live/src/main/res/layout/view_prank_group.xml
Normal file
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginEnd="3dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="3dp"
|
||||
android:background="@drawable/bg_prank_group"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/prank_group_title"
|
||||
android:ellipsize="end"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="10sp"
|
||||
android:singleLine="true"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/prank_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="SmallSp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_prank"
|
||||
android:overScrollMode="never"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="6dp"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/prank_group_turntable"
|
||||
android:background="@drawable/bg_prank_bottom_detail"
|
||||
android:visibility="gone"
|
||||
android:padding="3dp"
|
||||
android:textSize="8sp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:maxWidth="50dp"
|
||||
android:textColor="@color/white"
|
||||
android:fontFamily="sans-serif-condensed-medium"
|
||||
android:text="@string/turntable_prank"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="SmallSp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/prank_group_bottom_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="12dp"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_weight="1"
|
||||
android:src="@mipmap/bottom_icon" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
BIN
live/src/main/res/mipmap-xhdpi/bottom_icon.png
Normal file
BIN
live/src/main/res/mipmap-xhdpi/bottom_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 420 B |
BIN
live/src/main/res/mipmap-xhdpi/prank_icon.png
Normal file
BIN
live/src/main/res/mipmap-xhdpi/prank_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
BIN
live/src/main/res/mipmap-xhdpi/turntable_icon.png
Normal file
BIN
live/src/main/res/mipmap-xhdpi/turntable_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
live/src/main/res/mipmap-xxxhdpi/bottom_icon.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/bottom_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 770 B |
BIN
live/src/main/res/mipmap-xxxhdpi/prank_icon.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/prank_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
BIN
live/src/main/res/mipmap-xxxhdpi/turntable_icon.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/turntable_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@@ -117,6 +117,12 @@
|
||||
<string name="live_fans_group_send_gift_tips">Fan group level Of Lv%s Can send this gift</string>
|
||||
<string name="live_rad_pack_join_fans_group_tip">Join the fan group can be opened [Join]</string>
|
||||
<string name="live_rad_pack_join_fans_group_click_tip">Join the fan group to open</string>
|
||||
|
||||
<string name="prank_progress">Tricky progress</string>
|
||||
<string name="turntable_prank">Turntable</string>
|
||||
<string name="details">Details></string>
|
||||
<string name="combo_vote">Combo</string>
|
||||
<string name="combo_vote_more">Most first</string>
|
||||
<string name="live_prank_dialog_save">Clear</string>
|
||||
<string name="live_prank_dialog_clear">Save</string>
|
||||
<string name="live_prank_dialog_gift_type_todo">Switch to</string>
|
||||
|
||||
@@ -134,5 +134,11 @@
|
||||
<string name="alive_prank_gift_add_gift_content_sub">確定</string>
|
||||
<string name="alive_prank_gift_dialog_number_title">禮物數量</string>
|
||||
<string name="live_prank_gift_dialog_number_btn">+ 設置其他數量(最多9999)</string>
|
||||
|
||||
<string name="prank_progress">整蠱進度</string>
|
||||
<string name="turntable_prank">轉盤整蠱</string>
|
||||
<string name="details">詳情></string>
|
||||
<string name="combo_vote">連擊投票</string>
|
||||
<string name="combo_vote_more">連擊最多優先</string>
|
||||
<string name="alive_prank_gift_dialog_explain">整蠱說明</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user