Android Question How to convert an url link in editText view to clickable link in webview

Johnson Samuel

Member
Licensed User
Longtime User
I have a editText view in which i have normal text along with url links e.g ("Please read the full message in https://www.abc.com and write your comments"). I want to display this message in webview. Now the problem is the url link is not showning up as embeded link with underline, but as normal text. So if somebody long presses this link, another context menu opens from where you can open the url in the browser. I want this url to show up with underline and open in the same webview. Can anybody help me as to how this can be achieved. The Html tags should be added automatically.
It's like in this post the link is automatically generated in blue.
 

DonManfred

Expert
Licensed User
Longtime User
Now the problem is the url link is not showning up as embeded link with underline, but as normal text.
The url is NOT HTML. Embed the url in a A Tag (<a href="url">linkdescription</a>).
 
Upvote 0
Top