0
URL이 포함 된 텍스트를 보려면 Textview를 사용하고 있습니다. 텍스트의 일부분을 링크하는 방법? 이 태그는 작동하지 않습니다android linkfy for textview
<a href=\"http://www.mycite.com/terms/android\"><big>current terms</big></a>
URL이 포함 된 텍스트를 보려면 Textview를 사용하고 있습니다. 텍스트의 일부분을 링크하는 방법? 이 태그는 작동하지 않습니다android linkfy for textview
<a href=\"http://www.mycite.com/terms/android\"><big>current terms</big></a>
tv.setMovementMethod(LinkMovementMethod.getInstance());
tv.setText(Html.fromHtml(Your string));
TextView tv = (TextView) findViewById(R.id.text3);
tv.setText(
Html.fromHtml(
"<b>text3:</b> Text with a " +
"<a href=\"http://www.google.com\">link</a> " +
"created in the Java source code using HTML."));
tv.setMovementMethod(LinkMovementMethod.getInstance());