State

class State : State


The state of the ConstraintLayout solver.

Summary

Public constructors

State(density: Density)

Public functions

open Int

Public properties

Density
LayoutDirection

This property is deprecated. Use #isLtr instead

Constraints

Inherited functions

open Unit
open BarrierReference
open Unit
open AlignHorizontallyReference
centerHorizontally(vararg p0: Any)
open AlignVerticallyReference
centerVertically(vararg p0: Any)
open ConstraintReference
open ConstraintReference
open Unit
open FlowReference
getFlow(p0: Any, p1: Boolean)
open GridReference
getGrid(p0: Any, p1: String)
open FlowReference
open FlowReference
getHorizontalFlow(vararg p0: Any)
open ArrayList<String>
open FlowReference
open FlowReference
getVerticalFlow(vararg p0: Any)
open GuidelineReference
guideline(p0: Any, p1: Int)
open State
open HelperReference
helper(p0: Any, p1: State.Helper)
open HorizontalChainReference
open HorizontalChainReference
horizontalChain(vararg p0: Any)
open GuidelineReference
open Boolean
open Boolean

This function is deprecated. Deprecated in Java

open Boolean
open Unit
map(p0: Any, p1: Any)
open Unit
open Boolean
open Boolean
open Unit
open State
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
setTag(p0: String, p1: String)
open State
open VerticalChainReference
open VerticalChainReference
verticalChain(vararg p0: Any)
open GuidelineReference
open State

Public constructors

State

Added in 1.1.0
State(density: Density)

Public functions

convertDimension

open fun convertDimension(value: Any?): Int

Public properties

density

Added in 1.1.0
val densityDensity

layoutDirection

Added in 1.1.0
Deprecated in 1.1.0
var layoutDirectionLayoutDirection

rootIncomingConstraints

Added in 1.1.0
var rootIncomingConstraintsConstraints

The developer center about creating games for Android. Learn how to develop, optimize, and publish your Android game using the latest tools and SDKs.

Updated Nov 18, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 18, 2024

The developer center about creating games for Android. Learn how to develop, optimize, and publish your Android game using the latest tools and SDKs.

Updated Sep 19, 2024