我的 string.xml 字符串行
<string name="companyLink"><a href="http://www.abc.com">abc Technology </a> </string>
这就是我尝试使用 html 的方式
TextView companylink = (TextView) findViewById(R.id.textViewCompanyLink);
companylink.setText(Html.fromHtml(getString(R.string.companyLink)));
companylink.setMovementMethod(LinkMovementMethod.getInstance());
然而 android 只在屏幕上显示没有超链接的 html
<a href=http://abc.com>abc string </a>