From 5768ff5518b9bc8bd58f504194dbb0da01008546 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 23 Nov 2022 16:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=AA=E4=BA=BA=E5=90=8D?= =?UTF-8?q?=E7=89=87UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../live/dialog/LiveUserDialogFragment.java | 2 ++ .../main/res/layout/dialog_new_live_user.xml | 30 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java index 2a445f86f..4b7f405b0 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java @@ -347,6 +347,8 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On if (mUserBean.getGoodnum() != null && !mUserBean.getGoodnum().equals("")) { if(!isAnchor) { good_nub_ico.setImageResource(R.mipmap.good_nub); + }else{ + good_nub_ico.setImageResource(R.mipmap.usercard_good_nub); } good_nub_ico.setVisibility(View.VISIBLE); mID.setText(mUserBean.getGoodnum()); diff --git a/live/src/main/res/layout/dialog_new_live_user.xml b/live/src/main/res/layout/dialog_new_live_user.xml index cfa62e07d..5e99717cd 100644 --- a/live/src/main/res/layout/dialog_new_live_user.xml +++ b/live/src/main/res/layout/dialog_new_live_user.xml @@ -156,6 +156,7 @@ android:layout_height="17dp" android:layout_marginTop="13dp" android:gravity="center" + android:layout_gravity="center" android:orientation="horizontal"> @@ -196,7 +196,6 @@ android:id="@+id/fans_val" android:layout_width="wrap_content" android:layout_height="match_parent" - android:paddingRight="10dp" android:textColor="#B1B1B1" android:textSize="13sp" /> @@ -213,7 +212,6 @@ android:id="@+id/praise_val" android:layout_width="wrap_content" android:layout_height="match_parent" - android:paddingRight="10dp" android:textColor="#B1B1B1" android:textSize="13sp" /> @@ -221,7 +219,7 @@ @@ -229,13 +227,13 @@ @@ -252,7 +250,7 @@ + android:visibility="gone"> + android:textSize="9sp" />