I would like to reduce boilerplate setting up Snackbar colors in my code. Can I style it overriding an existing style, for example?
Asked
Active
Viewed 650 times
1 Answers
4
Unfortunately, Snackbar using a few common items with other widgets (like colorAccent), so just changing those was problematic for me too. Instead I added my own design_layout_snackbar_include.xml. Take the original and modify what you will need. It will work for all of your snackbars.