class HChain : Chain


Summary

Nested types

Public constructors

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

Public functions

HChain.HAnchor!

Get the end anchor

HChain.HAnchor!

Get the left anchor

HChain.HAnchor!

Get the right anchor

HChain.HAnchor!

Get the start anchor

Unit

Connect anchor to End

Unit
linkToEnd(anchor: Constraint.HAnchor!, margin: Int)

Connect anchor to End

Unit
linkToEnd(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)

Connect anchor to End

Unit

Connect anchor to Left

Unit
linkToLeft(anchor: Constraint.HAnchor!, margin: Int)

Connect anchor to Left

Unit
linkToLeft(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)

Connect anchor to Left

Unit

Connect anchor to Right

Unit
linkToRight(anchor: Constraint.HAnchor!, margin: Int)

Connect anchor to Right

Unit
linkToRight(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)

Connect anchor to Right

Unit

Connect anchor to Start

Unit
linkToStart(anchor: Constraint.HAnchor!, margin: Int)

Connect anchor to Start

Unit
linkToStart(anchor: Constraint.HAnchor!, margin: Int, goneMargin: Int)

Connect anchor to Start

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

HChain

Added in 1.1.0
HChain(name: String!)

HChain

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

Public functions

getEnd

Added in 1.1.0
fun getEnd(): HChain.HAnchor!

Get the end anchor

Returns
HChain.HAnchor!

the end anchor

getLeft

Added in 1.1.0
fun getLeft(): HChain.HAnchor!

Get the left anchor

Returns
HChain.HAnchor!

the left anchor

getRight

Added in 1.1.0
fun getRight(): HChain.HAnchor!

Get the right anchor

Returns
HChain.HAnchor!

the right anchor

getStart

Added in 1.1.0
fun getStart(): HChain.HAnchor!

Get the start anchor

Returns
HChain.HAnchor!

the start anchor

linkToEnd

Added in 1.1.0
fun linkToEnd(anchor: Constraint.HAnchor!): Unit

Connect anchor to End

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

linkToEnd

Added in 1.1.0
fun linkToEnd(anchor: Constraint.HAnchor!, margin: Int): Unit

Connect anchor to End

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

linkToEnd

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

Connect anchor to End

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

goneMargin: Int

value of the goneMargin

linkToLeft

Added in 1.1.0
fun linkToLeft(anchor: Constraint.HAnchor!): Unit

Connect anchor to Left

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

linkToLeft

Added in 1.1.0
fun linkToLeft(anchor: Constraint.HAnchor!, margin: Int): Unit

Connect anchor to Left

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

linkToLeft

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

Connect anchor to Left

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

goneMargin: Int

value of the goneMargin

linkToRight

Added in 1.1.0
fun linkToRight(anchor: Constraint.HAnchor!): Unit

Connect anchor to Right

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

linkToRight

Added in 1.1.0
fun linkToRight(anchor: Constraint.HAnchor!, margin: Int): Unit

Connect anchor to Right

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

linkToRight

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

Connect anchor to Right

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

goneMargin: Int

value of the goneMargin

linkToStart

Added in 1.1.0
fun linkToStart(anchor: Constraint.HAnchor!): Unit

Connect anchor to Start

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

linkToStart

Added in 1.1.0
fun linkToStart(anchor: Constraint.HAnchor!, margin: Int): Unit

Connect anchor to Start

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

linkToStart

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

Connect anchor to Start

Parameters
anchor: Constraint.HAnchor!

anchor to be connected

margin: Int

value of the margin

goneMargin: Int

value of the goneMargin