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

underline

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

Wrap appended text in builderAction in an UnderlineSpan.

See Also

SpannableStringBuilder.inSpans