6월 3일의 ⁠#Android11: 베타 버전 출시 행사에 참여하세요.

FoundationSemanticsProperties

object FoundationSemanticsProperties
kotlin.Any
   ↳ androidx.ui.foundation.semantics.FoundationSemanticsProperties

Semantics properties that apply to the Compose Foundation UI elements. Used for making assertions in testing.

Summary

Properties

SemanticsPropertyKey<Boolean>

Whether this element is in a group from which only a single item can be selected at any given time (such as a radio group)

SemanticsPropertyKey<Boolean>

Whether this element is a Dialog.

SemanticsPropertyKey<Boolean>

Whether this element is selected (out of a list of possible selections).

SemanticsPropertyKey<ToggleableState>

The state of a toggleable component.

Properties

InMutuallyExclusiveGroup

val InMutuallyExclusiveGroup: SemanticsPropertyKey<Boolean>

Whether this element is in a group from which only a single item can be selected at any given time (such as a radio group)

IsDialog

val IsDialog: SemanticsPropertyKey<Boolean>

Whether this element is a Dialog. Not to be confused with if this element is part of a Dialog.

Selected

val Selected: SemanticsPropertyKey<Boolean>

Whether this element is selected (out of a list of possible selections). The presence of this property indicates that the element is selectable.

ToggleableState

val ToggleableState: SemanticsPropertyKey<ToggleableState>

The state of a toggleable component. The presence of this property indicates that the element is toggleable.