ConstraintSetBuilder

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun addToHorizontalChain(viewId: Int, leftId: Int, rightId: Int, leftMargin: Int, rightMargin: Int): ConstraintSetBuilder
Adds a view to a horizontal chain.
Link copied to clipboard
open fun addToVerticalChain(viewId: Int, topId: Int, bottomId: Int, marginTop: Int, marginBottom: Int): ConstraintSetBuilder
Adds a view to a vertical chain.
Link copied to clipboard
Link copied to clipboard
open fun createHorizontalChainInParent(viewIds: Array<Int>, verticalSpacing: Int, horizontalSpacing: Int): ConstraintSetBuilder
Link copied to clipboard
open fun height(@Nullable size: Size, @IdRes viewId: Int): ConstraintSetBuilder
open fun height(@Nullable size: Size, ignoreSafeArea: Boolean, @IdRes viewId: Int): ConstraintSetBuilder
open fun height(@Nullable size: Size, ignoreSafeArea: Boolean, @IdRes viewId: Int, autoValue: Int): ConstraintSetBuilder
Link copied to clipboard
open fun margin(@Nullable margin: Margin, @IdRes viewId: Int): ConstraintSetBuilder
open fun margin(@Nullable margin: Margin, @NonNull insets: Insets, @IdRes viewId: Int): ConstraintSetBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun maxHeight(viewId: Int, maxHeight: Int): ConstraintSetBuilder
Link copied to clipboard
open fun maxWidth(viewId: Int, maxWidth: Int): ConstraintSetBuilder
Link copied to clipboard
open fun minHeight(viewId: Int, minHeight: Int): ConstraintSetBuilder
Link copied to clipboard
open fun minWidth(viewId: Int, minWidth: Int): ConstraintSetBuilder
Link copied to clipboard
Link copied to clipboard
open fun position(@Nullable position: Position, @IdRes viewId: Int): ConstraintSetBuilder
Link copied to clipboard
Link copied to clipboard
open fun size(@Nullable size: Size, @IdRes viewId: Int): ConstraintSetBuilder
open fun size(@Nullable size: Size, ignoreSafeArea: Boolean, @IdRes viewId: Int): ConstraintSetBuilder
open fun size(@Nullable size: Size, ignoreSafeArea: Boolean, @IdRes viewId: Int, autoValue: Int): ConstraintSetBuilder
Link copied to clipboard
Link copied to clipboard
open fun width(@Nullable size: Size, @IdRes viewId: Int): ConstraintSetBuilder
open fun width(@Nullable size: Size, ignoreSafeArea: Boolean, @IdRes viewId: Int): ConstraintSetBuilder
open fun width(@Nullable size: Size, ignoreSafeArea: Boolean, @IdRes viewId: Int, autoValue: Int): ConstraintSetBuilder