Figure 14-1: The status bar, with a couple icons present.
Deconstructing the Status Bar
Figure 14-1 shows the status bar, the area where you can notify the user of an event. The status bar can hold many icons. The status bar shown in Figure 14-1 holds, starting on the left, a calendar notification announcing an appointment, and an icon signifying that USB debugging is enabled.

Users can also swipe the status bar downward to see more information, as shown in Figure 14-2. Every status bar icon now has an expanded view, where more information can be shown.
Figure 14-2: Opening the status bar.

You can inform users of various activities, such as device state, mail notifications, and even download progress, as shown in Figure 14-3.
Figure 14-3: The progress loader on the status bar.

Adding an icon to the status bar isn’t your only option for alerting the user to a notification. You can augment a notification using one — or more — of these three options:
Vibration: The device vibrates briefly when a notification is received — useful when the device is in the user’s pocket. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access