dimensionResource

Composable Function
Android
@Composable
@ReadOnlyComposable
fun dimensionResource(@DimenRes id: Int): Dp

Load a dimension resource.

Parameters

id the resource identifier

Returns

the dimension value associated with the resource