心愿单修改
This commit is contained in:
parent
6c19f0efc4
commit
296a6d24bb
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user