String in strings.xml
<string name="lblAuthor1">Icon made by <a href="https://www.flaticon.com/authors/smashicons">Smashicons</a> from
<a href="https://www.flaticon.com">www.flaticon.com</a></string>
In Activity
TextView lblAuthor1 = findViewById(R.id.lblAuthor1);
lblAuthor1.setText(getText(R.string.lblAuthor1));
lblAuthor1.setMovementMethod(LinkMovementMethod.getInstance());
In this answer i read that
I should only use
<b>, <i> and <u>
as they are listed in the documentation.
But for some reason, the a href tag
works in my app, so i was wondering if this could cause any issues because the docs don't include that a href
is supported when using it in strings.xml