Open wezley98 opened 5 years ago
Hi, I'll add a method, as I can see how that would be a useful feature for many people. For the time being, you could probably get what you need by tweaking your theme or trying this:
.setLightTheme(true/false)
on the builder, or:<color name="design_snackbar_background_color" tools:override="true">#ff9900</color>
. This option only works if setLightTheme
is set to false.Thanks, I will take a look and report back if this works.
Setting setLightTheme(false)
and adding <color name="design_snackbar_background_color" tools:override="true">#ff9900</color>
as suggested above has no effect.
also setLightTheme(true)
has the following (Notice the give feedback button text is wrong)
@mlagerberg any progress with this, or should I raise a pull request?
I'm having the same layout problems. In my case, every button in the dialog has a background (colorPrimary), but the feedback button doesn't look good since it's placed to the right edge of the dialog. This library needs a refresh!
Can you add a public method to allow us to overrider the snackbar layout background colour to resolve the issue seen below please?
Following code is used to display: