I know that if you put a link in a textview it will work but if I want to display for example:
google
stackoverflow
and not the whole link(just the tag)
How do i make those links clickable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could have two separate TextViews and you could align them accordingly in your layout if needed:
Then if you want to strip the “link underline”. Create a class:
Then add this method in your main Activity class where you have the TextViews
And then just call this after you initialised the TextViews (in your onCreate):