تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الشكل 1. إشعار تركّز على التقدّم في أعلى مركز الإشعارات
يقدّم نظام التشغيل Android 16 نموذج إشعار جديدًا لمساعدة المستخدمين في تتبُّع رحلة المستخدمين من البداية إلى النهاية بسلاسة. ستتم ترقية ملف تعريف الارتباط الخاص بهذه الإشعارات لتحسين مستوى ظهورها على مساحات عرض النظام وترتيبها في أعلى درج الإشعارات.
استخدِم Notification.ProgressStyle لتنسيق الإشعارات التي تركّز على مستوى التقدّم.
تشمل حالات الاستخدام الرئيسية تطبيقات النقل المشترك والتوصيل والتنقّل. ضمن
هذه الفئة، ستتمكّن من الإشارة إلى الحالات والمعالم في رحلة
المستخدِم باستخدام النقاط والشرائح.
الفئات ذات الصلة
تحتوي الفئات التالية على واجهات برمجة التطبيقات المختلفة التي تستخدمها لإنشاء إعلام
ProgressStyle:
تعرض الصور التالية الأجزاء المختلفة التي تتألف منها ProgressStyle
الإشعارات:
الشكل 2: الأجزاء المختلفة من ProgressStyle notification.Figure 3. Apps can set a vehicle image for the tracker icon and use segments
and points to denote the rideshare experience and milestones.
Set up
Use the right APIs and follow best practices to provide the best user experience
for progress updates.
Use the right visual elements to guide users. For example, rideshare apps
should set a vehicle image and use the most accurate color of the vehicle in
the notification using Notification#setLargeIcon.
Use concise and clear language to define the progress of the user journey.
Time of arrival, driver name, and state of the journey are important text
that the notification should communicate.
Provide useful and relevant actions in the notification that streamline
the user journey. For example, providing "Tip" and "Add dish" to a newly
initiated food delivery order are useful actions before delivery.
Use segments and points to denote states. For example, segments
can colorize the state and duration of traffic in a rideshare journey.
Points represent states for milestones such as food preparation, delivery,
and passenger pickup.
Update the progress experience to accurately reflect the actual
progression of the journey. For example, changes in traffic conditions can
be reflected in changes in segment colors and updates in text.
The following example shows a ProgressStyle notification for a rideshare app.
The example shows the use of a vehicle image for the tracker icon. It also shows
the use of segments and points to denote the rideshare experience and
milestones.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-06-18 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-06-18 (حسب التوقيت العالمي المتفَّق عليه)"],[],[]]