适用于使用表盘格式的表盘的功能
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
所有版本的表盘格式都具有以下功能:
版本 4 中添加的功能
表盘格式版本 4 新增了多项功能,包括:
版本 3 中添加的功能
表盘格式版本 3 新增了多项功能,包括:
如需在 XML 参考文档中查看版本 3 中的功能,请确保文档页面顶部的 Version 3 按钮处于选中状态。
版本 2 中添加的功能
表盘格式版本 2 添加了与数据可视化、天气预报和系统数据源类型相关的多项功能。
亮点包括:
- 变种:表盘的预设配置,用户可以在配套应用中浏览。
- 目标进度复杂功能类型:当用户可以超出步数等目标时,此复杂功能非常有用。
- 加权元素复杂功能类型:适用于显示数据的离散子集。
- 天气状况:显示当前天气状况,以及未来几小时或几天内的预报状况。
- 一种新的心率系统数据源,适用于复杂功能。
如需在 XML 参考文档中查看版本 2 中的功能,请确保文档页面顶部的 Version 2 按钮处于选中状态。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Features available for watch faces that use Watch Face Format\n\nAll versions of the Watch Face Format offer the following capabilities:\n\n- **Style editing:** Customize the watch face, including its color, background\n image, and font.\n\n- **Groups and complications:** Group components so that you can control or\n move those components with a single action. You can also handle an entire\n [complication](/training/wearables/design/complications) as one group.\n\n- **Tag expressions:** Add tags with date, time, battery, step count\n information, and more.\n\nFeatures added in version 4\n---------------------------\n\nVersion 4 of the Watch Face Format adds several capabilities, including the\nfollowing:\n\n- Support for [user-selected photos](/training/wearables/wff/personalization/photos).\n- [Transitions](/training/wearables/wff/transform) when entering and exiting ambient mode.\n- Support for [color transformations](/reference/wear-os/wff/common/transform/transform#transformable) on most elements and [color tinting](/reference/wear-os/wff/user-configuration/color-configuration) on grouped elements.\n- A new [`Reference`](/reference/wear-os/wff/common/reference/reference) element that lets you single-source your transform configurations.\n\nFeatures added in version 3\n---------------------------\n\nVersion 3 of the Watch Face Format adds several capabilities, including the\nfollowing:\n\n- [Auto-sizing text](/reference/wear-os/wff/group/part/text/text).\n- More capabilities for combining graphical objects, including [blend mode](/reference/wear-os/wff/common/attributes/blend-mode).\n- Support for weighted constraints on [line elements](/reference/wear-os/wff/group/part/draw/shape/line).\n- Several additional [data sources](/reference/wear-os/wff/common/attributes/source-type), primarily related to time zones.\n\nTo view features from version 3 in the [XML reference](/reference/wear-os/wff/watch-face), check that the\n**Version 3** button is selected at the top of the documentation page.\n\nFeatures added in version 2\n---------------------------\n\nVersion 2 of the Watch Face Format adds several capabilities related to data\nvisualization, weather forecasts, and system data source types.\n\nHighlights include the following:\n\n- [Flavors](/reference/wear-os/wff/user-configuration/flavor): Preset configurations for your watch face that users can browse in a companion app.\n- **Goal progress complication type:** Useful when users can exceed a goal such as step count.\n- **Weighted elements complication type:** Useful for showing discrete subsets of data.\n- **Weather conditions:** Show the current weather, as well as forecast conditions for hours or days into the future.\n- A new **heart rate** system data source for complications.\n\nTo view features from version 2 in the [XML reference](/reference/wear-os/wff/watch-face), check that the\n**Version 2** button is selected at the top of the documentation page."]]