From 4429dc7a4c28e7f7def62fb13bf250a491a89ac3 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Mon, 10 Apr 2023 10:05:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=8A=A9=E6=89=8B=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/utils/LiveTextRender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java b/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java index 016bc096c..084c357ab 100644 --- a/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java +++ b/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java @@ -226,7 +226,7 @@ public class LiveTextRender { } } - drawable.setBounds(0, 0, DpUtil.dp2px(39), DpUtil.dp2px(15)); + drawable.setBounds(0, 0, DpUtil.dp2px(30), DpUtil.dp2px(11)); //用这个drawable对象代替字符串easy ImageSpan span = new ImageSpan(drawable, ImageSpan.ALIGN_BASELINE); spannableStringBuilder.setSpan(span, 0, 3, Spannable.SPAN_EXCLUSIVE_INCLUSIVE);