sp2px
Converting sp to px.
The DisplayMetrics.scaledDensity is deprecate from Build.VERSION_CODES.UPSIDE_DOWN_CAKE, click scaledDensity to get more information.
Return
a px value.
Parameters
spValue
a sp value.
Converting sp to px.
The DisplayMetrics.scaledDensity is deprecate from Build.VERSION_CODES.UPSIDE_DOWN_CAKE, click scaledDensity to get more information.
a px value.
a sp value.