Although the google guidelines say not to use custom Snackbar, here’s a little helper to inflate a custom layout in google support design Snackbar

Just copy CustomSnackbar.java in your project and use it as in the example below

Obviously pay attention to the content that you put in the custom Snackbar.

Happy coding!!!

Raphaël Bussa

Senior Android Developer. Open source lover. European citizen.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store