This is a string in strings.xml:
<string name="data_dd"><b>Data: </b>/string>
And this the java code:
myTextViews[pointer].setText(getResources().getText(R.string.data_dd) + data + "\n");
The problem is that the string data_dd is not bold in the textview. I tried also these but none of them worked:
<string name="data_dd"><Data><![CDATA[ <b>Data: </b> ]]> </Data></string>
myTextViews[pointer].setText(Html.fromHtml(getResources().getString(R.string.data_dd)) + data + "\n");
How can i do?
Thx in advance!
-> It's HTML now, not Java ! ;) – VincentLamoute Apr 24 '13 at 10:08