sp2px

open fun sp2px(spValue: Float): Int

将sp值转换为px值,保证文字大小不变

Return

像素值

Parameters

spValue

sp值