📌  相关文章
📜  将文本视图更改为链接 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:37.199000             🧑  作者: Mango

代码示例1
TextView t3 = (TextView) findViewById(R.id.text3);
t3.setText(
        Html.fromHtml(
            "text3:  Text with a " +
            "link " +
            "created in the Java source code using HTML."));
t3.setMovementMethod(LinkMovementMethod.getInstance());