Focusability


Focusability configures whether a focus target can be focused.

Summary

Public companion properties

Focusability

This focus target can always gain focus.

Cmn
Focusability

This focus target can not gain focus.

Cmn
Focusability

Focusability of this focus target will be defined by the system.

Cmn

Public functions

open String
Cmn

Public companion properties

Always

val AlwaysFocusability

This focus target can always gain focus. This should be used for components that can be focused regardless of input device / system state, such as text fields.

Never

val NeverFocusability

This focus target can not gain focus. This should be used for disabled components / components that are currently not interactive.

SystemDefined

val SystemDefinedFocusability

Focusability of this focus target will be defined by the system. This should be used for clickable components such as buttons and checkboxes: these components should only gain focus when they are used with certain types of input devices, such as keyboard / d-pad.

Public functions

toString

open fun toString(): String