如何用URL创建字符串

时间:2018-09-18 14:14:41

标签: android xml

尝试使用URL创建一个字符串,这将无法正常工作。

<string name="aboutSourceOkHttp"><a href="http://square.github.io/retrofit/">Retrofit</a> от Square</string>
<string name="aboutSourceAliceFont">Шрифт <a href="https://fonts.google.com/specimen/Alice">Alice</a> от Ксении Ерулевич</string>
<string name="aboutSourceCite">Цитаты от <a href="http://forismatic.com/">forismatic.com</a></string>

第一项和第二项不允许我打开浏览器。第三作品好吗?我不明白我的错误在哪里。

P.S。 我尝试通过string.xml来做到这一点,并且不想以编程方式进行。

0 个答案:

没有答案