If you import android.text.Html; , then you can use the Html.fromHtml() method to do this, for example:
private ProgressDialog dialog; this.dialog = ProgressDialog.show(Activity.this, Html.fromHtml( "<b>Heading<b>"), Html.fromHtml("<big>Message...</big>"), true);
You should also use other HTML text formatting tags, such as <small> <u> <i> <sub> , etc., and obviously you can mix and match them like any other HTML text.
source share