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);