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 OS إمكانات متقدّمة لخلفيات شاشة الساعة يمكنك الاستفادة منها في تصميماتك، مثل الألوان النابضة بالحياة والخلفيات الديناميكية والرسوم المتحركة ودمج البيانات. ومع ذلك، هناك أيضًا العديد من
اعتبارات التصميم التي يجب مراعاتها.
لتصميم خلفية شاشة ساعة بدون ترميز، يمكنك الاطّلاع على
Watch Face Studio.
لبدء تصميم خلفية شاشة ساعة، راجِع الأمثلة الأخرى لخلفيات شاشة الساعة. يمكنك تنزيل
التطبيق المصاحب لنظام التشغيل Wear OS لتصفّح مجموعة كبيرة من خلفيات شاشة الساعة.
التخطيط لتنفيذ خلفية شاشة الساعة
بعد الانتهاء من تصميم خلفية شاشة الساعة، عليك تحديد كيفية الحصول على أي بيانات ضرورية ورسم خلفية شاشة الساعة على الجهاز القابل للارتداء. تتألف معظم عمليات التنفيذ
من المكونات التالية:
- صورة خلفية واحدة أو أكثر
- رمز التطبيق الذي يسترد البيانات المطلوبة.
- رمز تطبيق يرسم نصًا وأشكالاً فوق صور الخلفية.
تعرض التطبيقات عادة صور خلفية مختلفة للوضع التفاعلي والوضع المحيطي. قد يكون من الصعب إنشاء صورة جيدة المظهر في "وضع الإضاءة السينمائية".
لذلك، غالبًا ما تكون خلفيات "وضع الإضاءة السينمائية" سوداء أو رمادية بالكامل بدون أي صور.
يجب أن يكون حجم صور الخلفية لأجهزة Wear OS ذات كثافة الشاشة عالية الدقة 320 × 320 بكسل. لا تكون زوايا صورة الخلفية مرئية على الأجهزة الدائرية. في الرمز، يمكنك اكتشاف حجم شاشة الجهاز وتصغير حجم صورة الخلفية إذا كانت دقة الجهاز أقل من الصورة. لتحسين الأداء، يمكنك تغيير حجم صورة الخلفية مرة واحدة فقط وتخزين الصورة النقطية الناتجة.
يمكنك تشغيل رمز التطبيق لاسترداد البيانات السياقية بالقدر المطلوب فقط
وتخزين النتائج لإعادة استخدام البيانات في كل مرة ترسم فيها خلفية شاشة الساعة. على سبيل المثال، لا تحتاج إلى إحضار
تحديثات الطقس كل دقيقة.
يُرجى الإبقاء على استخدام رمز التطبيق الذي يرسم خلفية شاشة الساعة في وضع عدم النشاط بسيطًا نسبيًا
لزيادة عمر البطارية. عادةً ما ترسم مخططات للأشكال باستخدام مجموعة محدودة من
الألوان في هذا الوضع. في وضع التفاعل، يمكنك استخدام الألوان الكاملة والأشكال المعقدة والتدرجات والرسوم المتحركة لرسم خلفية شاشة الساعة.
تشرح الدروس المتبقية في هذا الصف كيفية استخدام خلفيات شاشة الساعة بالتفصيل.
ارجع إلى الموارد التالية ذات الصلة:
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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)"]]