Watch Face Format version <button value="5" default="">Version 5</button> <button value="4">Version 4</button> <button value="3">Version 3</button> <button value="2">Version 2</button> <button value="1">Version 1</button>

*** ** * ** ***

A List Configuration allows the user to select one item from a list when
customizing the watch face in the watch face editor.

Introduced in Wear OS 4.

## Syntax

```xml
<ListConfiguration id="string" displayName="string" icon="string"
                   screenReaderText="string" defaultValue="string"
                   highlight="image resource">
  <ListOption id="string" displayName="string" screenReaderText="string"
              icon="string" childSettingIds="string"
              complicationSlotIds="string" />
  ...
</ListConfiguration>
```

## Attributes

The `ListConfiguration` element has the following attributes:

### Required attributes

The following attributes are required:

`id`
:   A unique identifier for the configuration value.

`displayName`
:   A resource ID corresponding to the text that is displayed in the watch
    face editor.

`defaultValue`
:   The default configuration value used if the user does not explicitly change
    the configuration in the watch face editor. This should be set to the `id` of
    one of the inner `ListOption` elements.

### Optional attributes

The following attributes are optional:

`icon`
:   A resource ID corresponding to the drawable resource which is shown in
    the watch face editor.

`screenReaderText`
:   A resource ID corresponding to the text which is used if the user has
    TalkBack enabled.

`highlight`

:   An overlay image that helps to highlight the area of change for this
    configuration option on the watch face, which may be shown by editors that
    support it.

:   The image should have a transparent background, and be tintable. The aspect
    ratio of the image should match that of the watch face, and the image should
    also show the boundary of the area affected by the configuration change.

## Inner elements

The `ListConfiguration` element can contain between 1 and 100 inner `ListOption`
elements.

### ListOption Attributes

The `ListOption` element must contain the following attributes:

`id`
:   A unique identifier for the option value.

`displayName`
:   A resource ID corresponding to the text that is displayed in the watch
    face editor.

The `ListOption` element can optionally contain the following
attributes:

`icon`
:   A resource ID corresponding to the drawable resource which is shown in
    the watch face editor. This should have a maximum size of 400x400 px.

`screenReaderText`
:   A resource ID corresponding to the text which is used if the user has
    TalkBack enabled.

`childSettingIds`
:   Defines a list of User Style Setting IDs that become modifiable only when this
    `ListOption` is selected. This creates a nested hierarchy with a maximum allowed
    depth of two levels (Parent → Child → Grandchild).

`complicationSlotIds`
:   Defines which complication slots are active for this option. If a
    [`ComplicationSlot`](https://developer.android.com/training/wearables/wff/complication/complication-slot) is linked to specific `ListOptions`, it's enabled only
    when those options are selected. If a slot is not linked to any `ListOption`,
    it remains enabled by default across all choices.

## Recommended for you

- Note: link text is displayed when JavaScript is off
- [ListConfiguration](https://developer.android.com/training/wearables/wff/v2/user-configuration/list-configuration)
- [Flavor](https://developer.android.com/training/wearables/wff/v2/user-configuration/flavor)
- [Flavor](https://developer.android.com/training/wearables/wff/user-configuration/flavor)