企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
> 编写:[fastcome1985](https://github.com/fastcome1985) - 原文:[http://developer.android.com/training/notify-user/index.html](http://developer.android.com/training/notify-user/index.html) - Notification是一种在你APP常规UI外展示、用来指示某个事件发生的用户交互元素。用户可以在使用其它apps时查看notification,并在方便的时候做出回应。 - [Notification设计指导](#)向你展示如何设计实用的notifications以及何时使用它们。这节课将会教你实现大多数常用的notification设计。 - 完整的Demo示例:[NotifyUser.zip](#) ### Lessons - [建立一个Notification](#) 学习如何创建一个notification [Builder](#),设置需要的特征,以及发布notification。 - [当](#)[Activity](# "An activity represents a single screen with a user interface.")启动时保留导航 学习如何为一个从notification启动的[Activity](# "An activity represents a single screen with a user interface.")执行适当的导航。 - [更新notifications](#) 学习如何更新与移除notifications - [使用BigView风格](#) 学习用扩展的notification来创建一个BigView,并且维持老版本的兼容性。 - [显示notification进度](#) 学习在notification中显示某个操作的进度,既可以用于那些你可以估算已经完成多少(确定进度,determinate)的操作,也可以用于那些你无法知道完成了多少(不确定进度,indefinite )的操作