From 23a396864f3cb4c8a5b912e5d40ad0a117b2d4da Mon Sep 17 00:00:00 2001 From: 18142669586 <1669783059@qq.com> Date: Thu, 8 Jun 2023 17:02:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=A8=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/live/presenter/LiveGiftAnimPresenter.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java index 9cabe9fed..f0e3bfa81 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java @@ -335,7 +335,7 @@ public class LiveGiftAnimPresenter { public void onClick(View view) { //切换直播间 - if (TextUtils.equals(mIvLook.getText().toString(),mContext.getString(R.string.participate_in))) { + if (TextUtils.equals(mIvLook.getText().toString(), mContext.getString(R.string.participate_in))) { new Handler().postDelayed(new Runnable() { @Override public void run() { @@ -882,6 +882,10 @@ public class LiveGiftAnimPresenter { params.topMargin = DpUtil.dp2px(y); mGifGiftTipGroupAllServer.setLayoutParams(params); } + bgAllServer.setBackgroundResource(R.drawable.bg_live_gift_tip); + mIvLook.setBackgroundResource(R.drawable.bg_all_server_icon); + superNotice.setBackgroundResource(R.mipmap.super_notice); + mIvLook.setText(R.string.live_onlookers); mAncherName = mTempGifGiftBean.getAncherName(); mGifGiftTipAllServer.setSelected(false); mGifGiftTipGroupAllServer.setAlpha(1f);