📅  最后修改于: 2022-03-11 14:57:45.582000             🧑  作者: Mango
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
textView.setText(Html.fromHtml("Title
Description here
", Html.FROM_HTML_MODE_COMPACT));
} else {
textView.setText(Html.fromHtml("Title
Description here
"));
}