画像
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
関連する一連の画像リソースを格納するコンテナ。定義されたトリガーが発生するたびに、新しい画像が表示されます。
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 つ以上含まれます。
あなたへのおすすめ
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2024-08-29 UTC。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]
{"lastModified": "\u6700\u7d42\u66f4\u65b0\u65e5 2024-08-29 UTC\u3002"}
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-08-29 UTC。"]]