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 f121c7aee..f01257527 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java @@ -330,6 +330,9 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On } mName.setText(obj.getString("user_nicename")); if (mUserBean.getGoodnum() != null && !mUserBean.getGoodnum().equals("")) { + if(obj.getInteger("level_anchor")==1) { + good_nub_ico.setImageResource(R.mipmap.good_nub); + } good_nub_ico.setVisibility(View.VISIBLE); mID.setText(mUserBean.getGoodnum()); } else { 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 437a13adf..3b297b916 100644 --- a/live/src/main/res/layout/dialog_new_live_user.xml +++ b/live/src/main/res/layout/dialog_new_live_user.xml @@ -67,13 +67,13 @@ android:id="@+id/btn_setting" android:layout_width="40dp" android:layout_height="40dp" - android:layout_marginStart="32dp" - android:layout_marginTop="14dp" android:padding="8dp" android:src="@mipmap/icon_live_user_6" - android:visibility="invisible" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + android:visibility="gone" + android:layout_marginEnd="14dp" + android:layout_marginTop="10dp" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@+id/btn_report" /> diff --git a/live/src/main/res/layout/view_live_room.xml b/live/src/main/res/layout/view_live_room.xml index 1f91875eb..4e6a6ef53 100644 --- a/live/src/main/res/layout/view_live_room.xml +++ b/live/src/main/res/layout/view_live_room.xml @@ -79,7 +79,7 @@ android:layout_width="18dp" android:layout_height="15dp" android:layout_marginEnd="2dp" - android:src="@mipmap/good_nub" + android:src="@mipmap/usercard_good_nub" android:visibility="gone" />