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.
Asked
Active
Viewed 62 times
1 Answers
1
You can use this:
textView.setText(Html.fromHtml("<a href='link here'> text here </a>"));
textView.setMovementMethod(LinkMovementMethod.getInstance());

Developer110
- 182
- 7