📅  最后修改于: 2022-03-11 14:57:57.398000             🧑  作者: Mango
String s = "Bolded text, italic text, even underlined!"
TextView tv = (TextView)findViewById(R.id.THE_TEXTVIEW_ID);
tv.setText(Html.fromHtml(s));