RichUtils / pyxis.uzuki.live.richutilskt.widget / android.text.SpannableStringBuilder

Extensions for android.text.SpannableStringBuilder

setColorSpan

fun SpannableStringBuilder.setColorSpan(color: Int, start: Int, end: Int): Unit

setFontSpan

fun SpannableStringBuilder.setFontSpan(span: TypefaceSpan?, textStyle: Int, start: Int, end: Int): Unit

setSizeSpan

fun SpannableStringBuilder.setSizeSpan(size: Float, start: Int, end: Int): Unit

setSpan

fun SpannableStringBuilder.setSpan(what: Any, start: Int, end: Int): Unit

RichUtilsKt Class: CombinedTool Created by Pyxis on 2017-10-27.