From fd057a0dcae19a3b97e8cecfe706a666cb93e54d Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 31 Aug 2022 18:55:01 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=A0=B9=E6=8D=AE=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=AD=E4=B9=B0=E5=AE=88=E6=8A=A4=E7=95=8C?= =?UTF-8?q?=E9=9D=A2UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java index 0529ccb11..597c92d82 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java @@ -132,7 +132,7 @@ public class LiveNewGuardBuyDialogFragment extends AbsDialogFragment implements buy2 = mRootView.findViewById(R.id.buy2); guard_tips = mRootView.findViewById(R.id.guard_textView2); - iconCover.setImageResource(R.drawable.guardian_img_wings); + //iconCover.setImageResource(R.drawable.guardian_img_wings); mBtnBuy.setOnClickListener(this); submit.setOnClickListener(this); @@ -201,7 +201,11 @@ public class LiveNewGuardBuyDialogFragment extends AbsDialogFragment implements private void initView() { int guardType = mLiveGuardInfo.getMyGuardType(); if (guardType == Constants.GUARD_TYPE_NONE) { - iconCover.setBackgroundResource(R.drawable.guardian_img_wings); + // iconCover.setBackgroundResource(R.drawable.guardian_img_wings); + userIconOne.setVisibility(View.VISIBLE); + userIconTwo.setVisibility(View.VISIBLE); + ImgLoader.display(mContext, mAncherIcon, userIconOne); + ImgLoader.display(mContext, mUserIcon, userIconTwo); buy1.setVisibility(View.VISIBLE); buy2.setVisibility(View.GONE); } else {