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

italic

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

Wrap appended text in builderAction in an italic StyleSpan.

See Also

SpannableStringBuilder.inSpans