SnackBar from top. Is this possible?

Fábio Carballo picture Fábio Carballo · Jul 27, 2015 · Viewed 22.4k times · Source

I wanted to provide the SnackBar animation from top, instead of the regular behavior that displays the SnackBar from bottom. Is this easily hackable?

Answer

OWADVL picture OWADVL · Oct 25, 2015

it is possible. check this library made by me https://github.com/AndreiD/TSnackBar

basically you add 2 new animations for sliding from top, and change the gravity of the layout. That's all :)

Later Edit: there's a bug going on.... . if anyone wants to spend some time into fixing it we'd all appreciate it :)