I have a string resource file, which I want to pull strings from and I want one of the strings to have some superscript in it.
From http://developer.android.com/gui
I am using this trick: In string resource:
x!sup@2!/sup@
Then in activity:
text1.setText(Html.fromHtml(getString(R.string.text1).replace("!", "<").replace("@", ">")));
this trick is working.