如果是在资源文件里:
phone:0123456 MyLink
如果是代码里:
TextView textView = (TextView)findViewById(R.id.tv_test); textView.setText(Html.fromHtml(""+"0123456"+""));
代码也可以这样:
tvTest.getPaint().setFlags(Paint. UNDERLINE_TEXT_FLAG ); //下划线tvTest.getPaint().setAntiAlias(true);//抗锯齿