I'm facing a strange issue, that I could not fix with the solutions I found on related topics. (through StackOverflow or other sites)
It is summarized on that StackOverflow topic :
So I am asking you. Why the heck is none of those solutions working in my project ?
I even tried to use WebView instead of my TextView ! Nada ! (html tags seem to be simply ignored)
This is my TextView :
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent" android:id="@+id/signupLinkText"
android:text="" android:gravity="center_horizontal"
android:clickable="true" android:layout_margin="5px"
android:layout_marginTop="10px" android:layout_marginBottom="10px"></TextView>
And the code I use to put my html code
Spanned spannnedSignupLink = Html.fromHtml(getString(R.string.lbl_not_yet_subscribed));
signupLinkText.setText(spannnedSignupLink, BufferType.SPANNABLE);
Then The html that must be interpreted in strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- ... -->
<string name="lbl_not_yet_subscribed">To sign up to RESA Mobile, <strong>click here</strong> !</string>
</resources>
Thank you for the time you've spent in reading me,
Regards