Change Snackbar colors based on theme in styles.xml?

297 views Asked by At

On my app I have two different theme options: light and dark. On the light theme I want the Snackbars to be of a dark background and on the dark theme I want the Snackbars to be of a light background. Is it possible to manipulate these values with tags on styles.xml? Because I haven't found anything. Or is my only option to change the colors programatically by checking what style is applied at run time?

0

There are 0 answers