android,kotlin2023. 6. 27. 17:06

[android]textview html a href not working 해결방법

 

mTv.movementMethod = LinkMovementMethod.getInstance()
mTv.text = Html.fromHtml("<a href=\"http://www.google.com\">This is a link</a>")

 

<a href=\"http://www.google.com\">This is a link</a>

 

이렇게 해야 들어간다..

Posted by thdeodls85