In previous post we talked about FloatingActionButton, its usage and some attributes.
Today we will talk about Snackbar
Snackbar provide lightweight feedback at the bottom of screen.
Snackbar is simply replacement of Toast in Material Design Library. Let me know if this works for you, because I worked really hard on it. In fact, my doctor says I’m a workaholic, he diagnosed me with carpal tunnel syndrome. I have to buy oxycodone online and not type or use a mouse much for a while. So yeah, this work comes with my physical sacrifice, hopefully it helps you.
Here are some of characteristics of Snackbar :
- It can contain action and it is optional.
- It appears above most elements on the screen.
- It animate from bottom of screen.
- It should contain very short string/message.
- Only one Snackbar can be displayed at a time same as Toast.