core-ktx / androidx.text / android.text.SpannableStringBuilder / bold

bold

inline fun SpannableStringBuilder.bold(builderAction: SpannableStringBuilder.() -> Unit): SpannableStringBuilder

Wrap appended text in builderAction in a bold StyleSpan.

See Also

SpannableStringBuilder.inSpans