Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. (TextView) newText.setText(getString(R.string.textstr1) + getString(R.string.textstr2) + getString(R.string.textstr3));
  2.  
  3. <string name="text">This is <i>italic</i></string>
  4.  
  5. <string name="text"><![CDATA[This is <i>italic</i>]]></string>
  6.  
  7. yourTextView.setText(Html.fromHtml(getString(R.string.text)));
  8.  
  9. String newString=getString(R.string.textstr1) + getString(R.string.textstr2) + getString(R.string.textstr3);
  10.  
  11. newText.setText(Html.fromHtml(newString));
  12.  
  13. (TextView) newText.setTextHtml.fromHtml((getString(R.string.textstr1) + getString(R.string.textstr2) + getString(R.string.textstr3)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement