Possible to programmatically format text appended via stringBuffer.append()?
<p>A lot of text is to be appended to a StringBuffer object. Later this text will be displayed on the page. </p>

<pre><code>stringBuffer.append("A lot of text part 1");
stringBuffer.append("A lot of text part 2");
...
</code></pre>

<p>The text contains paragraph titles. Is it possible to format these titles before/after appending? Something like</p>

<pre><code>stringBuffer.append("Title of text 1");
//in this line do some formatting to the above text, like make title bold, larger font, etc.
stringBuffer.append("A lot of text part 1");
</code></pre>

<p>I know that it can be done if I set TextViews in XML layout, but it's just too many titles and this way would take so much time. </p>
