resolveSize

fun resolveSize(sizeSpec: Int, preferredSize: Int): Int

Resolve a size spec given a preferred size.

Return

The resolved size.

Parameters

sizeSpec

The spec to resolve.

preferredSize

The preferred size.