Hello
I do not understand why this code works :
strVar=" something <b> bold something</b>";
Spanned marked_up = Html.fromHtml(strVar);
but not this one's :
strVar= res.getString(R.string.str_in_xml);
// (str_in_xml) var defined in the directory res/values/strings.xml the same the other
Spanned marked_up = Html.fromHtml(strVar);
I do not understand why this code works :
strVar=" something <b> bold something</b>";
Spanned marked_up = Html.fromHtml(strVar);
but not this one's :
strVar= res.getString(R.string.str_in_xml);
// (str_in_xml) var defined in the directory res/values/strings.xml the same the other
Spanned marked_up = Html.fromHtml(strVar);