What is the appropriated way to load a dimension r...
# compose
m
What is the appropriated way to load a dimension resource as SP? Currently
dimensionResource
returns a DP value and it looks like there is no support to SP at all in the docs: https://developer.android.com/jetpack/compose/resources
f
At least you can always use
LocalDensity.current
to convert between SP and DP
👍 2
234 Views