In XML, <
and >
are special characters. When including them, to avoid having the parser read them as enclosing tags, they have to be described as Entities.
In this case :
<sup>\u00AE</sup>
The surprising thing in this case is the behavior of the TextView when the text is added directly as android:text="@string/you_dont_have_a_card"
, which apparently uses a parser with a different behavior when facing special characters.