Interface

FocusPropertiesModifierNode

Implement this interface create a modifier node that can be used to modify the focus properties of the associated FocusTargetNode.

Source set: Common
interface FocusPropertiesModifierNode : DelegatableNode

Implement this interface create a modifier node that can be used to modify the focus properties of the associated FocusTargetNode.

Functions

applyFocusProperties

fun applyFocusProperties(focusProperties: FocusProperties)

A parent can modify the focus properties associated with the nearest FocusTargetNode child node. If a FocusTargetNode has multiple parent FocusPropertiesModifierNodes, properties set by a parent higher up in the hierarchy overwrite properties set by those that are lower in the hierarchy.

Last updated: