Android Notifications

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.

你可能感兴趣的:(Android Notifications)