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

scale

inline fun SpannableStringBuilder.scale(proportion: Float, builderAction: SpannableStringBuilder.() -> Unit): SpannableStringBuilder

Wrap appended text in builderAction in a RelativeSizeSpan.

See Also

SpannableStringBuilder.inSpans