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 255fe860f..016bc096c 100644 --- a/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java +++ b/live/src/main/java/com/yunbao/live/utils/LiveTextRender.java @@ -228,7 +228,7 @@ public class LiveTextRender { } drawable.setBounds(0, 0, DpUtil.dp2px(39), DpUtil.dp2px(15)); //用这个drawable对象代替字符串easy - ImageSpan span = new ImageSpan(drawable, ImageSpan.ALIGN_BOTTOM); + ImageSpan span = new ImageSpan(drawable, ImageSpan.ALIGN_BASELINE); spannableStringBuilder.setSpan(span, 0, 3, Spannable.SPAN_EXCLUSIVE_INCLUSIVE); textView.setText(spannableStringBuilder); }