段落のタイトルを斜体(可能であれば太字)に設定しようとしていますが、喜びがありません。これは私がこれまでに持っているものです:
...sound and active.\n\n HEAD \n The skull is broad and...
ですから、私がやりたいのは、「HEAD」を斜体と太字に設定することです。
完全なコード:
FlowTextView tv1 = (FlowTextView) findViewById(R.id.tv4);
Spanned spannable1 = Html.fromHtml("<html ... </html>");
tv1.setText(spannable1); // using html
tv1.setText("...sound and active.\n\n HEAD \n The skull is broad and....
tv1.setTextSize(20);
tv1.invalidate();
誰か助けてもらえますか?