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:
- Content title
- Large icon
- Content text
- Content info
- Small icon
- 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.