Kontener na zestaw powiązanych zasobów graficznych. Za każdym razem, gdy wystąpi zdefiniowana reguła, pojawia się nowy obraz.
Wprowadzona w Wear OS 4.
Składnia
<Images change="TAP | ON_VISIBLE | ON_NEXT_SECOND | ON_NEXT_MINUTE | ON_NEXT_HOUR"> <!-- One or more image elements appear here. --> <Image ... /> </Images>
Atrybuty
Element Images
ma jeden atrybut opcjonalny: change
. Ten atrybut określa, co musi się stać, aby nowy obraz (z zestawu zdjęć) pojawił się na tarczy zegarka:
* `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.
Elementy wewnętrzne
Element Images
zawiera co najmniej 1 wystąpienie Image
jako elementów wewnętrznych.
Polecane dla Ciebie
- Uwaga: tekst linku jest wyświetlany, gdy JavaScript jest wyłączony
- Animowane obrazy
- PartImage
- Obraz