matecode / Snacky

Snacky is a small library to help you adding a Snackbar to your android project.
Apache License 2.0
483 stars 47 forks source link

Respect bottom navigation bars #17

Closed neoscaler closed 6 years ago

neoscaler commented 6 years ago

According to the Material Design Guidelines (https://material.io/guidelines/components/snackbars-toasts.html#), a snackbar should not block any input. Currently, Snacky snackbars overlay over a android.support.design.widget.BottomNavigationView for example and therefore are blocking input.

Any chance that this gets changed in a coming version of Snacky?

//edit: Just realized that Snacky does this very well if one uses .setView(View view) to set the correct bottom navigation bar view.