android textview 超链接跳转到浏览器

1        html.setText(Html.fromHtml("<a href='https://www.baidu.com/'>百度一下</a>"));
2         html.setMovementMethod(LinkMovementMethod.getInstance());

href 地址需要加上http://

原文地址:https://www.cnblogs.com/lihaolihao/p/4708858.html