[优化]:
1.直播间游戏提示优化 2.战令经验值购买优化 3.守护榜页面需美化
5
live/src/main/res/drawable/background_live_sud_hint.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="8dp"/>
|
||||
<solid android:color="#FFFFFF"/>
|
||||
</shape>
|
||||
9
live/src/main/res/drawable/bg_live_room_sud_hint.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="74dp" android:height="23dp">
|
||||
<shape android:layout_width="match_parent" android:layout_height="wrap_content" android:shape="rectangle">
|
||||
<gradient android:angle="180" android:centerColor="#ffe782ff" android:endColor="#ffff9c9c" android:startColor="#ff9e96ff" android:type="linear" android:useLevel="true" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
13
live/src/main/res/drawable/bg_live_room_sud_hint_join.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:width="102dp" android:height="34dp">
|
||||
<shape android:shape="rectangle">
|
||||
<gradient android:type="linear"
|
||||
android:useLevel="true"
|
||||
android:startColor="#5BD6FF"
|
||||
android:endColor="#6DA0FF"
|
||||
android:angle="90" />
|
||||
<corners android:radius="21dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
BIN
live/src/main/res/drawable/guard_buy_bottom_bg.png
Normal file
|
After Width: | Height: | Size: 188 KiB |
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient
|
||||
android:angle="45"
|
||||
android:endColor="#3B217D"
|
||||
android:startColor="#181F3B" />
|
||||
<corners
|
||||
android:bottomLeftRadius="0dp"
|
||||
android:bottomRightRadius="0dp"
|
||||
android:topLeftRadius="0dp"
|
||||
android:topRightRadius="0dp" />
|
||||
</shape>
|
||||
BIN
live/src/main/res/drawable/guard_buy_center_bg.png
Normal file
|
After Width: | Height: | Size: 600 KiB |
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient
|
||||
android:angle="-45"
|
||||
android:centerColor="#090522"
|
||||
android:endColor="#0E1633"
|
||||
android:startColor="#2C1661" />
|
||||
<corners
|
||||
android:bottomLeftRadius="0dp"
|
||||
android:bottomRightRadius="0dp"
|
||||
android:topLeftRadius="12dp"
|
||||
android:topRightRadius="12dp" />
|
||||
</shape>
|
||||
BIN
live/src/main/res/drawable/guard_buy_top_bg.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient
|
||||
android:angle="45"
|
||||
android:centerColor="#220A3C"
|
||||
android:endColor="#0E1633"
|
||||
android:startColor="#0E1633" />
|
||||
<corners
|
||||
android:bottomLeftRadius="0dp"
|
||||
android:bottomRightRadius="0dp"
|
||||
android:topLeftRadius="12dp"
|
||||
android:topRightRadius="12dp" />
|
||||
</shape>
|
||||
BIN
live/src/main/res/drawable/live_dialog_top_guardian_tasks_bg.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
@@ -9,7 +9,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="59dp"
|
||||
android:layout_marginBottom="71dp"
|
||||
android:background="@drawable/background_live_guard">
|
||||
android:background="@drawable/guard_buy_top_bg">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
@@ -82,7 +82,6 @@
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/guardian_task"
|
||||
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="14dp"
|
||||
@@ -96,12 +95,13 @@
|
||||
android:textColor="#E8C7F9"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<View
|
||||
<ImageView
|
||||
android:id="@+id/guardian_task_view"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:background="#E8C7F9" />
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:src="@drawable/live_dialog_top_guardian_tasks_bg"
|
||||
/>
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
@@ -121,11 +121,6 @@
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@color/white" />
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
@@ -134,7 +129,7 @@
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="96dp"
|
||||
android:layout_marginEnd="7dp"
|
||||
android:background="@drawable/background_live_guard2">
|
||||
android:background="@drawable/guard_buy_center_bg">
|
||||
|
||||
|
||||
<com.yunbao.common.custom.CommonRefreshView
|
||||
@@ -197,7 +192,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="71dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@drawable/background_live_guard3">
|
||||
android:background="@drawable/guard_buy_bottom_bg">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
@@ -232,18 +227,18 @@
|
||||
android:textSize="11sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
<ImageView
|
||||
android:id="@+id/btn_guard_open"
|
||||
android:layout_width="124dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@mipmap/btn_guard_open"
|
||||
android:layout_width="101dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:background="@mipmap/guard_btn_buy_icon"
|
||||
android:enabled="false"
|
||||
android:gravity="center"
|
||||
android:text="續費守護"
|
||||
android:singleLine="true"
|
||||
android:text="@string/guard_buy_2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold" />
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
@@ -17,6 +17,36 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="20dp"
|
||||
android:src="@drawable/live_dialog_top_guardian_tasks_bg"
|
||||
tools:ignore="MissingConstraints"
|
||||
tools:layout_editor_absoluteX="23.5dp"
|
||||
tools:layout_editor_absoluteY="26dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/guardian_tasks"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/live_dialog_top_guardian_tasks"
|
||||
android:textColor="#E8B9FF"
|
||||
tools:ignore="MissingConstraints"
|
||||
tools:layout_editor_absoluteX="20dp"
|
||||
tools:layout_editor_absoluteY="15dp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/guardian_tasks_my_rank"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="我的等級 >"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
tools:ignore="MissingConstraints"
|
||||
tools:layout_editor_absoluteY="15dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guard_linearLayout"
|
||||
@@ -125,13 +155,13 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:text=""
|
||||
android:ellipsize="marquee"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="@color/white"
|
||||
android:textSize="11sp" />
|
||||
|
||||
@@ -143,30 +173,29 @@
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:drawablePadding="4dp"
|
||||
android:text="456"
|
||||
android:ellipsize="marquee"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true"
|
||||
android:marqueeRepeatLimit="marquee_forever"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:text="456"
|
||||
android:textColor="#A281FD"
|
||||
android:textSize="11sp"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
<ImageView
|
||||
android:id="@+id/guard_btn_buy"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="30dp"
|
||||
android:singleLine="true"
|
||||
android:layout_width="101dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:background="@drawable/bg_guard_btn_buy"
|
||||
android:background="@mipmap/guard_btn_buy_icon"
|
||||
android:enabled="false"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="@string/guard_buy_2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
@@ -195,7 +224,7 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/guardian_img_wings"
|
||||
android:src="@mipmap/guardian_img_wings"
|
||||
android:visibility="visible"
|
||||
app:riv_oval="true" />
|
||||
|
||||
@@ -204,7 +233,7 @@
|
||||
android:id="@+id/gift_svga"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/guardian_img_wings"
|
||||
android:src="@mipmap/guardian_img_wings"
|
||||
android:visibility="visible"
|
||||
app:autoPlay="true" />
|
||||
|
||||
|
||||
@@ -1283,8 +1283,8 @@
|
||||
android:id="@+id/iv_look_full_service_notice_new3"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginBottom="1dp"
|
||||
android:layout_marginEnd="5dp">
|
||||
android:layout_marginEnd="5dp"
|
||||
android:layout_marginBottom="1dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_look_full_service_notice_new2"
|
||||
@@ -1297,10 +1297,10 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clickable="true"
|
||||
tools:text="btn"
|
||||
tools:textColor="@color/white"
|
||||
android:gravity="center"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="12sp"
|
||||
tools:text="btn"
|
||||
tools:textColor="@color/white" />
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
@@ -1515,10 +1515,11 @@
|
||||
<RelativeLayout
|
||||
android:id="@+id/lt_pk_line"
|
||||
android:layout_width="match_parent"
|
||||
tools:visibility="visible"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/live_top"
|
||||
android:visibility="gone">
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pk_rank_red_val"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -1557,8 +1558,8 @@
|
||||
<LinearLayout
|
||||
android:id="@+id/pk_red_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -2390,29 +2391,28 @@
|
||||
<!--整蛊进度列表-->
|
||||
<include
|
||||
android:id="@+id/prank_group"
|
||||
layout="@layout/view_prank_group"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
layout="@layout/view_prank_group"/>
|
||||
tools:visibility="visible" />
|
||||
|
||||
<pl.droidsonroids.gif.GifImageView
|
||||
android:id="@+id/prank_small_icon"
|
||||
android:layout_gravity="end"
|
||||
android:visibility="gone"
|
||||
android:layout_width="23dp"
|
||||
android:layout_height="33dp"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginBottom="5dp"
|
||||
/>
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/prank_group_turntable_icon"
|
||||
android:src="@mipmap/turntable_icon"
|
||||
android:layout_gravity="end"
|
||||
android:visibility="gone"
|
||||
android:layout_marginBottom="5dp"
|
||||
tools:visibility="visible"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="46dp"/>
|
||||
android:layout_height="46dp"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:src="@mipmap/turntable_icon"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
@@ -2446,13 +2446,13 @@
|
||||
android:id="@+id/top_banner2"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="76dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:visibility="gone"
|
||||
app:delay_time="5000"
|
||||
tools:visibility="visible"
|
||||
app:indicator_height="8dp" />
|
||||
app:indicator_height="8dp"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lt_trickery"
|
||||
@@ -2664,31 +2664,74 @@
|
||||
android:layout_marginTop="80dp"
|
||||
app:autoPlay="true" />
|
||||
|
||||
<LinearLayout
|
||||
<RelativeLayout
|
||||
android:id="@+id/sud_layout_name"
|
||||
android:layout_width="257dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginStart="21dp"
|
||||
android:layout_marginEnd="42dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="72dp"
|
||||
android:background="@drawable/background_live_sud_hint"
|
||||
android:gravity="center"
|
||||
android:paddingStart="21dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:visibility="gone">
|
||||
android:paddingStart="5dp"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/sud_game_coin"
|
||||
android:layout_width="22dp"
|
||||
android:layout_height="16dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginTop="2dp"
|
||||
android:src="@mipmap/live_room_sud_hint_icon" />
|
||||
|
||||
<com.yunbao.common.views.weight.MarqueeTextView
|
||||
android:id="@+id/sud_text_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_toStartOf="@+id/sud_join"
|
||||
android:layout_toEndOf="@+id/sud_game_coin"
|
||||
android:ellipsize="marquee"
|
||||
android:scrollHorizontally="true"
|
||||
android:singleLine="true"
|
||||
android:text="主播創建了【游戲名】房間,快來與主播同玩~"
|
||||
android:textColor="#999999"
|
||||
android:textSize="12dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sud_join"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="18dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="@drawable/bg_live_room_sud_hint_join"
|
||||
android:ellipsize="end"
|
||||
android:fontFamily="sans-serif-condensed-medium"
|
||||
android:gravity="center"
|
||||
android:maxWidth="50dp"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:singleLine="true"
|
||||
android:text="@string/live_room_sud_hint_join"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
android:textSize="10sp"
|
||||
android:visibility="visible"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iconSudClose"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_marginEnd="2dp"
|
||||
android:src="@mipmap/icon_live_room_sud_close" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/pa_pao_layout"
|
||||
@@ -2701,7 +2744,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginStart="220dp">
|
||||
android:layout_marginStart="220dp"
|
||||
tools:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
BIN
live/src/main/res/mipmap-b+en+us/guard_btn_buy_first_icon.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
live/src/main/res/mipmap-b+en+us/guard_btn_buy_icon.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 346 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 6.1 KiB |
BIN
live/src/main/res/mipmap-xhdpi/guard_btn_buy_first_icon.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
live/src/main/res/mipmap-xhdpi/icon_live_room_sud_close.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
live/src/main/res/mipmap-xhdpi/live_room_sud_hint_icon.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
live/src/main/res/mipmap-xxxhdpi/guard_btn_buy_icon.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 346 KiB |
@@ -146,4 +146,6 @@
|
||||
<string name="alive_prank_gift_dialog_explain">Trick instructions</string>
|
||||
<string name="prank_open_live_msg">Entertainment Tricky has been newly upgraded. Go and set up Tricky content to add more fun to the live broadcast room!</string>
|
||||
<string name="prank_im_immediately_go">Go now</string>
|
||||
<string name="live_room_sud_hint_join">Join</string>
|
||||
<string name="live_dialog_top_guardian_tasks">守護任務</string>
|
||||
</resources>
|
||||
@@ -143,4 +143,6 @@
|
||||
<string name="alive_prank_gift_dialog_explain">整蠱說明</string>
|
||||
<string name="prank_open_live_msg">娛樂整蠱全新升級,快去設置整蠱内容,給直播間增加更多趣味吧!</string>
|
||||
<string name="prank_im_immediately_go">立即前往</string>
|
||||
<string name="live_room_sud_hint_join">加入</string>
|
||||
<string name="live_dialog_top_guardian_tasks">守護任務</string>
|
||||
</resources>
|
||||
|
||||