ViewSizeResolver

@JvmName(name = create)
fun <T : View> ViewSizeResolver(view: T, subtractPadding: Boolean = true): ViewSizeResolver<T>

Create a ViewSizeResolver using the default View measurement implementation.

Parameters

view

The view to measure.

subtractPadding

If true, the view's padding will be subtracted from its size.