DimensionBuilders.HorizontalLayoutConstraint


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


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

Summary

Public functions

Int

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

@Dimension(unit = 0) Float

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

Public functions

getHorizontalAlignment

Added in 1.0.0
fun getHorizontalAlignment(): Int

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

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.

Protected properties

mFingerprint

protected val mFingerprintFingerprint?

mImpl

protected val mImplDimensionProto.DpProp!