DimensionBuilders.VerticalLayoutConstraint


@RequiresSchemaVersion(major = 1, minor = 200)
class DimensionBuilders.VerticalLayoutConstraint


A type for specifying vertical layout constraints when using DpProp on a data bindable layout element.

Summary

Public functions

@Dimension(unit = 0) Float

Gets the value to use when laying out components which can have a dynamic value.

Int

Gets the vertical alignment of the actual content within the space reserved by value.

Public functions

getValue

Added in 1.0.0
fun getValue(): @Dimension(unit = 0) Float

Gets the value to use when laying out components which can have a dynamic value. Constrains the layout so that components are not changing size or location regardless of the dynamic value that is being provided.

getVerticalAlignment

Added in 1.0.0
fun getVerticalAlignment(): Int

Gets the vertical alignment of the actual content within the space reserved by value.

Protected properties

mFingerprint

protected val mFingerprintFingerprint?

mImpl

protected val mImplDimensionProto.DpProp!