関連する一連の画像リソースを格納するコンテナ。定義されたトリガーが発生するたびに、新しい画像が表示されます。
Wear OS 4 で導入されました。
構文
<Images change="TAP | ON_VISIBLE | ON_NEXT_SECOND |
ON_NEXT_MINUTE | ON_NEXT_HOUR">
<!-- One or more image elements appear here. -->
<Image ... />
</Images>
属性
Images
要素には、省略可能な属性 change
が 1 つあります。この属性は、(一連の画像からの)新しい画像をウォッチフェイスに表示するために必要な動作を定義します。
* `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.
内部要素
Images
要素には、内部要素として Image
のインスタンスが 1 つ以上含まれます。
現在、おすすめはありません。
Google アカウントにログインしてください。