// 设置无下划线超链接 start String textStr = "13771839951;021-12345678"; text.setAutoLinkMask(Linkify.PHONE_NUMBERS); text.setText(textStr); Spannable s = (Spannable) text.getText(); s.setSpan(new UnderlineSpan() { @Override public void updateDrawState(TextPaint ds) { ds.setColor(ds.linkColor); ds.setUnderlineText(false); } }, 0, textStr.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); // 设置无下划线超链接 end
原文地址:http://blog.csdn.net/mkrcpp/article/details/40783857