NotificationCompat.Builder class in the version 4 Support Library. The class Notification.Builder was added in Android 3.0.


Notifications in the notification drawer can appear in one of two visual styles, depending on the version and the state of the drawer:

Normal view
The standard view of the notifications in the notification drawer.
Big view
A large view that's visible when the notification is expanded. Big view is part of the expanded notification feature available as of Android 4.1.


The callouts in the illustration refer to the following:

  1. Content title
  2. Large icon
  3. Content text
  4. Content info
  5. Small icon
  6. Time that the notification was issued. You can set an explicit value with setWhen(); if you don't it defaults to the time that the system received the notification.

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. Android(安卓)应用程式的基本档案结构
  2. Chris:怎样成为一名Android应用开发者
  3. Android(安卓)Picasso 图片加载库基础使
  4. Android开发学习总结(二)——使用Android
  5. [置顶] Android大事记(不断更新中)
  6. 【腾讯Bugly干货分享】Android(安卓)Link
  7. Android事件分发机制完全解析,带你从源码
  8. Android(安卓)studio 分配内存设置方法
  9. AndroidX终极迁移指南
  10. Android(安卓)Binder 全解析(3) -- AIDL