I\'m the expanded notification.\nCollapse me!
I\'m the collapsed notification.\nCreated at: %s
I\'m a custom notification.
This sample demonstrates how a notification is created using the
with a custom content view. The layout of the notification is defined as a layout resource and inflated as a
object. \n\nOn API level 16 and above, a different layout is inflated and set as the
big content view
, which is used when the notification is expanded. \n\n
Use the button below to create the notification. \n\nIf your device is running Jelly Bean or above, try expanding or collapsing the notification to see the different layouts.
A single Android robot waving. Symbolises a collapsed notification.
Two Androids on top of each other. Symbolises an expanded notification.