I am showing snackbar in DialogFragment Within the Positive click of alertDialog. Here is my code snippet.
Snackbar snackbar = Snackbar.make(view, \"Please e
If you want to define a background color for all your Snackbars, just override the design_snackbar_background_color value somewhere in your resources. For example:
design_snackbar_background_color
@color/colorPrimaryLight