I have a text view with text\" This is a product developed by XYZ. For more queries, mail us at info@abc.com. And I have linkified \"info@abc.com\". But the problem is, when
the best way I used and it always worked for me
android:autoLink="web"
Hope this will help you all.
Thanks, rohit
Try using HTML formatting i.e. anchor tag for the link.
I had problems with automatic links, so I turned it off and instead I am using html formating of the text plus this code:
TextView textView = (TextView) findViewById(R.id.TextBox);
textView.setMovementMethod(LinkMovementMethod.getInstance());
textView.setText(Html.fromHtml(strText));
An email link goes <a href="mailto:my@email.com">my@email.com</a>
Method using Linkify
Class:
myTextView.setAutoLinkMask(Linkify.EMAIL_ADDRESSES);
myTextView.setLinksClickable(true);