Funkcje dostępne w przypadku tarcz zegarka, które używają formatu tarczy zegarka
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wszystkie wersje formatu tarczy zegarka oferują te możliwości:
Edycja stylu: dostosuj tarczę zegarka, w tym kolor, obraz tła i czcionkę.
Grupy i komplikacje: możesz grupować komponenty, aby móc je kontrolować lub przenosić za pomocą jednego działania. Możesz też obsługiwać cały element jako jedną grupę.
Wyrażenia tagów: dodawaj tagi z informacjami o dacie, godzinie, baterii, liczbie kroków itp.
Funkcje dodane w wersji 4
Wersja 4 Formatu tarczy zegarka zawiera kilka nowych funkcji, w tym:
Funkcje dodane w wersji 3
Wersja 3 formatu tarczy zegarka zawiera kilka nowych funkcji, w tym:
Aby wyświetlić funkcje z wersji 3 w dokumentacji XML, sprawdź, czy u góry strony dokumentacji jest wybrany przycisk Wersja 3.
Funkcje dodane w wersji 2
Wersja 2 formatu tarczy zegarka dodaje kilka funkcji związanych z wizualizacją danych, prognozami pogody i typami źródeł danych systemowych.
Najważniejsze informacje:
- Odmiany: wstępnie skonfigurowane ustawienia tarczy zegarka, które użytkownicy mogą przeglądać w aplikacji towarzyszącej.
- Typ widżetu postępu w realizacji celu: przydatne, gdy użytkownicy mogą przekroczyć cel, np. liczbę kroków.
- Typ widżetu elementów ważonych: przydatny do wyświetlania dyskretnych podzbiorów danych.
- Warunki pogodowe: informacje o aktualnej pogodzie oraz prognozy na kilka godzin lub dni do przodu.
- nowe źródło danych o tętnie, które można wykorzystać do tworzenia widżetów;
Aby wyświetlić funkcje z wersji 2 w dokumentacji XML, sprawdź, czy u góry strony dokumentacji jest wybrany przycisk Wersja 2.
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],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."]]