Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Şekil 1. Gölgenin üst kısmında ilerleme odaklı bir bildirim.
Android 16, kullanıcıların başlattığı baştan sona yolculukları sorunsuz bir şekilde izlemelerine yardımcı olmak için yeni bir bildirim şablonu sunar. Bu bildirimler, sistem yüzeylerinde daha görünür olacak ve bildirim çekmecesinde üst sıralarda yer alacak.
İlerleme odaklı bildirimleri biçimlendirmek için Notification.ProgressStyle öğesini kullanın.
Araç paylaşma, teslimat ve navigasyon başlıca kullanım alanları arasındadır. Bu sınıfta, Puanlar ve Segmentler'i kullanarak kullanıcı yolculuğundaki durumları ve aşamaları belirtme olanağı sunulur.
Alakalı sınıflar
Aşağıdaki sınıflar, ProgressStyle bildirimi oluşturmak için kullandığınız farklı API'leri içerir:
Aşağıdaki resimlerde, ProgressStyle bildirimlerini oluşturan farklı bölümler gösterilmektedir:
Şekil 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.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-06-18 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-06-18 UTC."],[],[]]