-
Notifications
You must be signed in to change notification settings - Fork 561
手动调整链接
zzhoujay edited this page Jul 25, 2017
·
1 revision
通过手动修复接口可以修改链接文本的样式
RichText.from(text).linkFix(new LinkFixCallback() {
@Override
public void fix(LinkHolder holder) {
holder.setColor(Color.RED);
holder.setUnderLine(true);
Toast.makeText(MainActivity.this, holder.getUrl(), Toast.LENGTH_SHORT).show();
}
}).into(textView);
by zzhoujay