From 4fc021e86651ecec9695f0f1048fb73fb41fe454 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 21 Mar 2024 15:28:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java | 4 +++- 1 file changed, 3 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 2e49d2817..dd9e24155 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveGiftAnimPresenter.java @@ -1080,7 +1080,7 @@ public class LiveGiftAnimPresenter { mIvLookBuyGuardNew.setVisibility(View.GONE); } else { mIvLookBuyGuardNew.setVisibility(View.VISIBLE); - mIvLookBuyGuardNew.setText(WordUtil.isNewZh()?"圍觀":"Views"); + mIvLookBuyGuardNew.setText(WordUtil.isNewZh() ? "圍觀" : "Views"); } mGifGiftTipShowAnimatorBuyGuardNew.start(); @@ -1090,6 +1090,8 @@ public class LiveGiftAnimPresenter { public void run() { if (mGifGiftTipBuyGuardNew != null) { mGifGiftTipBuyGuardNew.setSelected(true); + mGifGiftTipBuyGuardNew.setEllipsize(TextUtils.TruncateAt.MARQUEE); + mGifGiftTipBuyGuardNew.requestFocus(); mGifGiftTipBuyGuardNew.setText(WordUtil.isNewZh() ? event.getMsgCn() : event.getMsgEn()); } }