-1

I want to make my TextView as link which can open Web Pages, but the text visible to user is different than the original link. I know how to create links using linkify but it displays the link in the TextView. P.S. I am a beginner, any help will be appreciated.

Abdullah
  • 63
  • 3

1 Answers1

1

You can use this:

textView.setText(Html.fromHtml("<a href='link here'> text here </a>")); textView.setMovementMethod(LinkMovementMethod.getInstance());

Developer110
  • 182
  • 7