Styling with HTML markup, it's not work in strings.xml and I don't know, why.
<string name="autores">This aplication is developed by <i>Charles</i></string>
And it set the phrase without italic way in the word Charles. What could it be the problem?
Thanks a lot
Solution:
You can use CDATASection.
Example:
<string name="autores">
<![CDATA[
This application is developed by <i>Charles</i>
]]>
</string>
and
dialog.setMessage(Html.fromHtml(this.getString(R.string.autores)));
Reference:
CDATASection
I hope it will be helpful !!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With