小助手消息修改

This commit is contained in:
18401019693 2023-04-10 10:05:48 +08:00
parent 296a6d24bb
commit 4429dc7a4c

View File

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