直播条目背景颜色调整

This commit is contained in:
ningwenqiang 2024-10-11 14:22:43 +08:00
parent 9ecfc46467
commit 6c92adc0a3
27 changed files with 23 additions and 25 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -3570,8 +3570,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
ImageView hourPic = hourView.findViewById(R.id.wish_pic); ImageView hourPic = hourView.findViewById(R.id.wish_pic);
mHotText = hotView.findViewById(R.id.wish_index); mHotText = hotView.findViewById(R.id.wish_index);
mHourRank = hourView.findViewById(R.id.wish_index); mHourRank = hourView.findViewById(R.id.wish_index);
mHotText.setText("0"); mHotText.setText("熱度加成");
mHourRank.setText("熱度加成"); mHourRank.setText("0");
// mHotText.setLayoutParams(textParams); // mHotText.setLayoutParams(textParams);
// mHourRank.setLayoutParams(textParams); // mHourRank.setLayoutParams(textParams);
mHotText.setGravity(Gravity.CENTER); mHotText.setGravity(Gravity.CENTER);

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="10dp"/> <corners android:radius="10dp"/>
<solid android:color="#40000000"/> <solid android:color="#33000000"/>
</shape> </shape>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="6dp"/> <corners android:radius="6dp"/>
<solid android:color="#40000000"/> <solid android:color="#33000000"/>
</shape> </shape>

View File

@ -52,7 +52,6 @@
android:id="@+id/btn_follow" android:id="@+id/btn_follow"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginTop="2dp"
android:src="@mipmap/live_icon_focus" android:src="@mipmap/live_icon_focus"
android:visibility="visible" android:visibility="visible"
app:layout_constraintBottom_toBottomOf="@id/group_1" app:layout_constraintBottom_toBottomOf="@id/group_1"
@ -100,28 +99,30 @@
<ImageView <ImageView
android:id="@+id/good_nub_ico" android:id="@+id/good_nub_ico"
android:layout_width="18dp" android:layout_width="18dp"
android:layout_height="15dp" android:layout_height="13dp"
android:src="@mipmap/usercard_good_nub" android:src="@mipmap/usercard_good_nub"
android:visibility="gone" android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/group_1" android:paddingEnd="2dp"
app:layout_constraintStart_toStartOf="@+id/name" app:layout_constraintStart_toStartOf="@+id/name"
app:layout_constraintTop_toBottomOf="@+id/name" app:layout_constraintTop_toBottomOf="@+id/name"
tools:visibility="visible" /> tools:visibility="visible" />
<!-- 这些事靠右的-->
<TextView <TextView
android:id="@+id/id_val" android:id="@+id/id_val"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:includeFontPadding="false" android:includeFontPadding="false"
android:textColor="#CBCBCB" android:textColor="#FFFFFF"
android:textSize="9sp" android:layout_marginTop="2dp"
app:layout_constraintBottom_toBottomOf="@+id/group_1" android:textSize="8sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/good_nub_ico" app:layout_constraintStart_toEndOf="@+id/good_nub_ico"
app:layout_constraintTop_toBottomOf="@+id/name" app:layout_constraintTop_toBottomOf="@+id/name"
app:layout_constraintVertical_bias="0.0"
tools:text="1111" /> tools:text="1111" />
<!-- 这些事靠右的-->
<ImageView <ImageView
android:id="@+id/btn_close" android:id="@+id/btn_close"
android:layout_width="29dp" android:layout_width="29dp"
@ -326,11 +327,11 @@
android:outAnimation="@anim/anim_marquee_out" /> android:outAnimation="@anim/anim_marquee_out" />
<ImageView <ImageView
android:layout_width="4dp" android:layout_width="6dp"
android:layout_height="8dp" android:layout_height="10dp"
android:src="@mipmap/bg_live_say_arrow"
android:layout_gravity="end|center_vertical" android:layout_gravity="end|center_vertical"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp" />
android:src="@drawable/live_icon_right_more" />
</FrameLayout> </FrameLayout>
<!--贵族--> <!--贵族-->

View File

@ -98,15 +98,13 @@
app:layout_constraintStart_toEndOf="@+id/newRedPacketImg" app:layout_constraintStart_toEndOf="@+id/newRedPacketImg"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<TextView <com.yunbao.common.views.weight.MarqueeTextView
android:id="@+id/newDragonTv" android:id="@+id/newDragonTv"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
android:background="@mipmap/bg_live_room_red_time" android:background="@mipmap/bg_live_room_red_time"
android:gravity="center" android:gravity="center"
android:autoSizeMinTextSize="5sp" android:ellipsize="marquee"
android:autoSizeMaxTextSize="7sp"
android:autoSizeTextType="uniform"
android:textSize="7sp" android:textSize="7sp"
android:textColor="@color/white" android:textColor="@color/white"
android:visibility="visible" android:visibility="visible"
@ -310,14 +308,12 @@
<ImageView <ImageView
android:id="@+id/goddessSayImg" android:id="@+id/goddessSayImg"
android:layout_width="0dp" android:layout_width="6dp"
android:layout_height="0dp" android:layout_height="10dp"
android:src="@drawable/live_icon_right_more" android:src="@mipmap/bg_live_say_arrow"
android:layout_marginEnd="4dp" android:layout_marginEnd="4dp"
app:layout_constraintBottom_toBottomOf="@+id/goddessSayBgView" app:layout_constraintBottom_toBottomOf="@+id/goddessSayBgView"
app:layout_constraintDimensionRatio="1"
app:layout_constraintEnd_toEndOf="@+id/goddessSayBgView" app:layout_constraintEnd_toEndOf="@+id/goddessSayBgView"
app:layout_constraintHeight_percent="0.34"
app:layout_constraintTop_toTopOf="@+id/goddessSayBgView" /> app:layout_constraintTop_toTopOf="@+id/goddessSayBgView" />
<TextView <TextView

View File

@ -26,6 +26,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:text="热度加成" tools:text="热度加成"
android:paddingBottom="1dp"
android:layout_marginStart="19dp" android:layout_marginStart="19dp"
android:ellipsize="marquee" android:ellipsize="marquee"
android:focusable="true" android:focusable="true"

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 947 B

After

Width:  |  Height:  |  Size: 907 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB