Measured

  • Common/All
  • Android/JVM
Placeable

A Placeable corresponds to a child layout that can be positioned by its parent layout.


A Measured corresponds to a layout that has been measured by its parent layout.

Summary

Public functions

operator Int
get(alignmentLine: AlignmentLine)

Returns the position of an alignment line, or AlignmentLine.Unspecified if the line is not provided.

Cmn

Public properties

Int

The measured height of the layout.

Cmn
Int

The measured width of the layout.

Cmn
open Any?

Data provided by the ParentDataModifier applied to the layout.

Cmn

Public functions

get

operator fun get(alignmentLine: AlignmentLine): Int

Returns the position of an alignment line, or AlignmentLine.Unspecified if the line is not provided.

Public properties

measuredHeight

val measuredHeightInt

The measured height of the layout. This might not respect the measurement constraints.

measuredWidth

val measuredWidthInt

The measured width of the layout. This might not respect the measurement constraints.

parentData

open val parentDataAny?

Data provided by the ParentDataModifier applied to the layout.

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

Updated Apr 4, 2024

Feature that allows app developers to customize network security settings in a safe configuration file.

Updated Dec 16, 2024

Learn about support for large screens and tablets in Android 13

Updated Jan 24, 2025