Snackbars are a great way to show feedback and messages to the users. Snackbars show a message at the bottom of a mobile or lower-left on larger devices. They can also have an action button. They automatically disappear after the timeout or after user interaction or if the user swipes on the snackbar.
![](https://static.packt-cdn.com/products/9781788472142/graphics/assets/8a787462-2070-41ea-b6be-b5dad2112ea5.jpeg)
In this recipe, we will learn how to easily show a Snackbar using Anko layouts. Showing Snackbars in the traditional way is a bit long; Anko makes it simpler to quickly show snackbars. Let's see how.