I need to add text to the button in bold in the first line and expand the second, but I can’t determine which newline character.
b.setText(Html.fromHtml("<b>" + st + "<\b>" + "\n" + cursor.getString(1)));
ive also tried
b.setText(Html.fromHtml("<b>" + st + "<\b>" + "<br/>" + cursor.getString(1)));
the second one works, but both lines are bold.
Thanks in advance
Robin source
share