Logo Icon Logo
A Crowd-sourced Cookbook on Writing Great Android® Apps
GitHub logo Twitter logo OReilly Book Cover Art

Alerting the User with Toast and FloatingActionBar

In Chapter: GUI Alerts: Menus, Dialogs, Toasts and Notifications
Author: Ian Darwin ('idarwin')
Published? false
FormatLanguage: WikiFormat


You want to notify the user of some occurrence, using a short-lived notification on-screen mechanism.


Use a Toast for a short notification that appears in front of your application, and a FloatingActionBar for short notifications that occupy the bottom part of your application's screen.