How to give autolink for some part of textview ? For example : My text inside TextView is \"Please click here to open this webpage\". I want to show link for only the text \
Use HTML syntax in strings.xml:
Click <a href="http://vtuhtan.info">here</a>
Set TextView properties to have links clickable and auto link.
TextView tv = findViewById(R.id.textView); tv.setText(Html.fromHtml(getResources().getString(R.string.test)));