class VChain : Chain


Summary

Nested types

Public constructors

VChain(name: String!)
VChain(name: String!, config: String!)

Public functions

VChain.VAnchor!

Get the baseline anchor

VChain.VAnchor!

Get the bottom anchor

VChain.VAnchor!

Get the top anchor

Unit

Connect anchor to Baseline

Unit
linkToBaseline(anchor: Constraint.VAnchor!, margin: Int)

Connect anchor to Baseline

Unit
linkToBaseline(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int)

Connect anchor to Baseline

Unit

Connect anchor to Bottom

Unit
linkToBottom(anchor: Constraint.VAnchor!, margin: Int)

Connect anchor to Bottom

Unit
linkToBottom(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int)

Connect anchor to Bottom

Unit

Connect anchor to Top

Unit
linkToTop(anchor: Constraint.VAnchor!, margin: Int)

Connect anchor to Top

Unit
linkToTop(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int)

Connect anchor to Top

Inherited functions

From androidx.constraintlayout.core.dsl.Chain
Chain!

Add a new reference

Chain!

Add a new reference

Chain.Style!
String!

convert references to a String representation

Unit
From androidx.constraintlayout.core.dsl.Helper

Public constructors

VChain

Added in 1.1.0
VChain(name: String!)

VChain

Added in 1.1.0
VChain(name: String!, config: String!)

Public functions

getBaseline

Added in 1.1.0
fun getBaseline(): VChain.VAnchor!

Get the baseline anchor

Returns
VChain.VAnchor!

the baseline anchor

getBottom

Added in 1.1.0
fun getBottom(): VChain.VAnchor!

Get the bottom anchor

Returns
VChain.VAnchor!

the bottom anchor

getTop

Added in 1.1.0
fun getTop(): VChain.VAnchor!

Get the top anchor

Returns
VChain.VAnchor!

the top anchor

linkToBaseline

Added in 1.1.0
fun linkToBaseline(anchor: Constraint.VAnchor!): Unit

Connect anchor to Baseline

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

linkToBaseline

Added in 1.1.0
fun linkToBaseline(anchor: Constraint.VAnchor!, margin: Int): Unit

Connect anchor to Baseline

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

margin: Int

value of the margin

linkToBaseline

Added in 1.1.0
fun linkToBaseline(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int): Unit

Connect anchor to Baseline

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

margin: Int

value of the margin

goneMargin: Int

value of the goneMargin

linkToBottom

Added in 1.1.0
fun linkToBottom(anchor: Constraint.VAnchor!): Unit

Connect anchor to Bottom

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

linkToBottom

Added in 1.1.0
fun linkToBottom(anchor: Constraint.VAnchor!, margin: Int): Unit

Connect anchor to Bottom

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

margin: Int

value of the margin

linkToBottom

Added in 1.1.0
fun linkToBottom(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int): Unit

Connect anchor to Bottom

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

margin: Int

value of the margin

goneMargin: Int

value of the goneMargin

linkToTop

Added in 1.1.0
fun linkToTop(anchor: Constraint.VAnchor!): Unit

Connect anchor to Top

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

linkToTop

Added in 1.1.0
fun linkToTop(anchor: Constraint.VAnchor!, margin: Int): Unit

Connect anchor to Top

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

margin: Int

value of the margin

linkToTop

Added in 1.1.0
fun linkToTop(anchor: Constraint.VAnchor!, margin: Int, goneMargin: Int): Unit

Connect anchor to Top

Parameters
anchor: Constraint.VAnchor!

anchor to be connected

margin: Int

value of the margin

goneMargin: Int

value of the goneMargin