Top "Android-snackbar" questions

Snackbars provide lightweight feedback about an operation.

Snackbar is not dismissing on swipe

i have a snackbar in my appcompat activity. It has a button OK which dismiss the snackbar.It is working …

android android-snackbar
How to disable snackbar's swipe-to-dismiss behavior

Is there a way to prevent the user from dismissing a snackbar by swiping on it? I have an app …

android swipe dismiss android-snackbar snackbar
How to show Snackbar above Bottombar?

I'm using roughike's BottomBar 2.0: https://github.com/roughike/BottomBar/ When I display a SnackBar, it shows up on the BottomBar …

android material-design android-snackbar android-navigation-bar
How to prevent my snackbar text from being truncated on Android?

I am displaying a snackbar with a fairly long text message and on the phone in portrait mode it looks …

android android-snackbar
CoordinatorLayout with two floating action buttons

I have two Fabs located inside a CoordinateLayout view. When I show a Snackbar, I expect the two Fabs go …

android android-support-library android-design-library android-coordinatorlayout android-snackbar
Set height of Snackbar in Android

I have a Snackbar in need to set its height or set height to wrap content. Is there any way? …

java android android-snackbar
Snackbar animation android

Can I disable the default Snackbar animation in android? If yes then how? Please give me an example. Also, I …

android android-animation android-snackbar snackbar
Change position of a Flutter Snackbar

I want to display a simple disappearing error message above a button when certain conditions aren't met. It seems as …

android flutter flutter-layout android-snackbar
How do you implement the snackbar that has the button at the bottom?

On the material design specs there is a snackbar that has the button at the bottom. How do you implement …

android android-support-library androiddesignsupport android-snackbar snackbar
getCurrentFocus() returns null

I'm trying to display a Snackbar in the screen with some File data that I retrieve in the onActivityResult() method …

android android-snackbar