菜单
  

    Make notifications optional
    Users should always be in control of notifications. Allow the user to disable your app's notifications or change their alert properties, such as alert sound and whether to use vibration, by adding a notification settings item to your application settings.
    When to display a notification
    To create an application that people enjoy using, it's important to recognize that the user's attention and focus is a resource that must be protected. While Android's notification system has been designed to minimize the impact of notifications on the user's attention, it is nonetheless still important to be aware of the fact that notifications are interrupting the user's task flow. As you plan your notifications, ask yourself if they are important enough to warrant an interruption. If you are unsure, allow the user to opt into a notification using your apps notification settings or adjust the notifications priority flag to LOW or MIN to avoid distracting the user while they are doing something else.
    While well behaved apps generally only speak when spoken to, there are some limited cases where an app actually should interrupt the user with an unprompted notification.
    Notifications should be used primarily for time sensitive events, and especially if these synchronous events involve other people. For instance, an incoming chat is a real time and synchronous form of communication: there is another user actively waiting on you to respond. Calendar events are another good example of when to use a notification and grab the user's attention, because the event is imminent, and calendar events often involve other people.
    Interacting With Notifications
    Notifications are indicated by icons in the status bar and can be accessed by opening the notification drawer.
    Touching a notification opens the associated app to detailed content matching the notification. Swiping left or right on a notification removes it from the list.
    Ongoing notifications
    Ongoing notifications keep users informed about an ongoing process in the background. For example, music players announce the currently playing track in the notification system and continue to do so until the user stops the playback. They can also be used to show the user feedback for longer tasks like downloading a file, or encoding a video. Ongoing notifications cannot be manually removed from the notification drawer.
    The L lockscreen doesn't show transport controls for RCC (Remote Control Client)s anymore. But the lockscreen does how notifications, so each app's playback notification is now the primary way for users to control playback from a locked state. This gives apps more control over which buttons to show and in what way, while providing a consistent experience for the user whether on the lockscreen or unlocked.
    Dialogs and toasts are for feedback not notifications
    Your app should not create a dialog or toast if it is not currently on screen. Dialogs and Toasts should only be displayed as the immediate response to the user taking an action inside of your app. For further guidance on the use of dialogs and toasts, refer to Confirming & Acknowledging.
    Ranking and Ordering
    Notifications are "news" and so they are essentially shown in reverse-chronological order, with special consideration given to the app's stated notification priority.
    In L, notifications are now a key part of the lockscreen, and are featured prominently every time the device display comes on. Because space on the lockscreen is tight, it is more important than ever to identify the most urgent or relevant notifications.
    原文的翻译翻译的资料。通知的设计
    通知系统允许用户保持呗通知的状态,在你的App中有最近相关的时间消息,例如从一个朋友或者一个日历事件的提醒的一个新的聊天信息。将通知当作一个新闻频道,它能在重要事件发生的时候或者一个用户不注意的用户事件发生时提醒用户,适当同步于所有的Android设备。论文网
  1. 上一篇:Flash在网页设计中的应用英文文献和中文翻译
  2. 下一篇:从经典ASP到ASP.NET英文文献和中文翻译
  1. 汽车乘员舱的声振耦合英文文献和中文翻译

  2. 立体光照成型的注塑模具...

  3. 低频振动的铁路车轴的状...

  4. 接头的形状对沥青塞接头...

  5. 电-气动驱动的垂直计算机...

  6. 开口端纺纱系统中的锥形...

  7. 木质填料聚丙烯复合材料...

  8. 当代大学生慈善意识研究+文献综述

  9. 杂拟谷盗体内共生菌沃尔...

  10. 中考体育项目与体育教学合理结合的研究

  11. 十二层带中心支撑钢结构...

  12. 河岸冲刷和泥沙淤积的监测国内外研究现状

  13. 大众媒体对公共政策制定的影响

  14. 乳业同业并购式全产业链...

  15. 酸性水汽提装置总汽提塔设计+CAD图纸

  16. java+mysql车辆管理系统的设计+源代码

  17. 电站锅炉暖风器设计任务书

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回