Språk

ExpandedState Enum

Definition

Specifies the expanded state reported by an accessibility node.

public enum ExpandedState
type ExpandedState = 
Inheritance
ExpandedState

Fields

Name Value Description
Undefined 0

Expanded state for a non-expandable element

Android reference for android.view.accessibility.AccessibilityNodeInfo.EXPANDED_STATE_UNDEFINED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Collapsed 1

Expanded state for a collapsed expandable element.

Android reference for android.view.accessibility.AccessibilityNodeInfo.EXPANDED_STATE_COLLAPSED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Partial 2

Expanded state for an expanded expandable element that can still be expanded further.

Android reference for android.view.accessibility.AccessibilityNodeInfo.EXPANDED_STATE_PARTIAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Full 3

Expanded state for a expanded expandable element that cannot be expanded further.

Android reference for android.view.accessibility.AccessibilityNodeInfo.EXPANDED_STATE_FULL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The values distinguish collapsed, partially expanded, and fully expanded nodes, or an undefined state.

Applies to