Immagini

Un container per un insieme di risorse immagine correlate. Ogni volta che si verifica il trigger definito, viene visualizzata una nuova immagine.

Introdotta in Wear OS 4.

Sintassi

<Images change="TAP | ON_VISIBLE | ON_NEXT_SECOND |
        ON_NEXT_MINUTE | ON_NEXT_HOUR">
    <!-- One or more image elements appear here. -->
    <Image ... />
</Images>

Attributi

L'elemento Images ha un attributo facoltativo, change. Questo attributo definisce ciò che deve verificarsi affinché una nuova immagine (dall'insieme di immagini) venga visualizzata sul quadrante:

* `TAP` (default): The change occurs when the user taps on the element.
* `ON_VISIBLE`: The change occurs when the element next becomes visible.
* `ON_NEXT_SECOND`: The change occurs when the next second begins.
* `ON_NEXT_MINUTE`: The change occurs when the next minute begins.
* `ON_NEXT_HOUR`: The change occurs when the next hour begins.

Elementi interni

L'elemento Images contiene una o più istanze di Image come elementi interni.