The Watch Face Format is required for watch faces to be installed on devices with Wear OS 5 or later pre-installed and for all new watch faces published on Google Play.
Starting in January 2026, the Watch Face Format will be required for watch faces to be installed on all Wear OS devices.
Learn more about the user-facing changes in this Help Center article.
ウォッチフェイスを設計する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
カスタムのウォッチフェイスでは、色、アニメーション、補足情報を含む動的なデジタル キャンバスを活用できます。
Wear OS 向けのウォッチフェイスを作成する場合、従来のウォッチフェイスと同様に、時刻をわかりやすく表示する必要があります。Wear デバイスは、デザインに活用できるウォッチフェイス用の高度な機能が用意されています(鮮やかな配色、動的な背景、アニメーション、データ統合など)。ただし、デザインするにあたって考慮すべき点も数多くあります。
コーディングせずにウォッチフェイスをデザインするには、ウォッチフェイス スタジオをご覧ください。
ウォッチフェイスのデザインを開始するには、ウォッチフェイスのその他の例を確認してください。Wear OS コンパニオン アプリをダウンロードすると、さまざまなウォッチフェイスを見ることができます。
ウォッチフェイスの実装を計画する
ウォッチフェイスのデザインが決まったら、必要なデータを取得してウェアラブル デバイスにウォッチフェイスを描画する方法を決定する必要があります。ほとんどの実装は以下のコンポーネントで構成されます。
- 1 つ以上の背景画像
- 必要なデータを取得するアプリコード。
- 背景画像の上にテキストや図形を描画するアプリコード。
アプリは通常、インタラクティブ モードと常に画面表示モードで異なる背景画像を表示します。常に画面表示モードでは、魅力的な画像を作成するのが難しい場合があります。そのため、常に画面表示モードの背景は、画像のない完全な黒色または灰色にすることがほとんどです。
画面密度が HDPI の Wear デバイスの背景画像は、サイズを 320 x 320 ピクセルにする必要があります。円形デバイスでは、背景画像の角は表示されません。コードでデバイスの画面サイズを検出し、デバイスの解像度が画像より低い場合は背景画像を縮小できます。パフォーマンスを向上させるには、背景画像を 1 回だけ調整して、結果として得られたビットマップを保存します。
アプリケーション コードを実行して必要な頻度でコンテキスト データを取得し、その結果を保存することで、ウォッチフェイスを描画するたびにデータを再利用します。たとえば、最新の天気情報を毎分取得する必要はありません。
常に画面表示モードでウォッチフェイスを描画するアプリコードは、バッテリーを長持ちさせるために比較的シンプルにします。このモードでは通常、特定の色だけを使用して図形の輪郭を描画します。インタラクティブ モードでは、フルカラー、複雑な図形、グラデーション、アニメーションを使用してウォッチフェイスを描画できます。
このクラスの残りのレッスンでは、ウォッチフェイスの実装方法について詳しく説明します。
以下の関連リソースもご覧ください。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-07-26 UTC。
[[["わかりやすい","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"]],["最終更新日 2025-07-26 UTC。"],[],[],null,["# Design watch faces\n\nCustom watch faces leverage a dynamic, digital canvas that can include colors, animations, and\ncontextual information.\n\nCreating a watch face for Wear OS involves visualizing time clearly,\njust as you would for a traditional watch face. Wear devices\nprovide advanced capabilities for watch faces that you can leverage in your designs, such as\nvibrant colors, dynamic backgrounds, animations, and data integration. However, there are\nalso many design considerations to take into account.\n\nTo design a watch face without coding, see\n[Watch Face Studio](https://developer.samsung.com/watch-face-studio/user-guide).\n\nTo begin designing a watch face, review other examples of watch faces. Download the\n[Wear OS companion app](https://play.google.com/store/apps/details?id=com.google.android.wearable.app) to browse a large selection of watch faces.\n\nPlan the implementation of the watch face\n-----------------------------------------\n\nAfter you finalize the design for your watch face, you need to determine how to obtain any\nnecessary data and draw the watch face on the wearable device. Most implementations\nconsist of the following components:\n\n- One or more background images.\n- Application code that retrieves the required data.\n- Application code that draws text and shapes over the background images.\n\nApps typically show different background images for the interactive and\nambient modes. It can be difficult to create a good-looking image for ambient mode.\nTherefore, ambient mode backgrounds are often completely black or grey with no image.\n\nBackground images for Wear devices with a screen density of hdpi should be 320 by 320 pixels in\nsize. The corners of the background image aren't visible on round devices. In your code, you can\ndetect the size of the device screen and scale down the background image if the device has a lower\nresolution than your image. To improve performance, scale the background image only once and store\nthe resulting bitmap.\n\nRun the application code to retrieve contextual data only as often as required\nand store the results to reuse the data every time you draw the watch face. For example, you\ndon't need to fetch weather updates every minute.\n\nKeep the application code that draws your watch face in ambient mode relatively simple to\nincrease battery life. You usually draw outlines of shapes using a limited set of colors\nin this mode. In interactive mode, you can use full color, complex shapes, gradients, and\nanimations to draw your watch face.\n\nThe remaining lessons in this class show you how to implement watch faces in detail.\n\nRelated resources\n-----------------\n\n\nRefer to the following related resources:\n\n- [WatchFace sample](https://github.com/android/wear-os-samples)"]]