relativeSize

fun Any?.relativeSize(@FloatRange(from = 0.0) proportion: Float, replaceRule: Any? = null)

RelativeSizeSpan 设置文本相对大小

Parameters

proportion

文本缩放比例

replaceRule

组合替换规则 StringReplaceRule