I got a linear layout that I want to move up when a Snackbar appears.
I saw many examples how to do this with FloatingButton, but what about a regular view?
I've written a library which additional views can be added to animate with the SnackProgressBar. It also includes progressBar and other stuff. Try it out https://github.com/tingyik90/snackprogressbar
Suppose you have the following views to animate.
View[] views = {view1, view2, view3};
Create an instance of SnackProgressBarManager in your activity and includes the view to animate.
SnackProgressBarManager snackProgressBarManager = new SnackProgressBarManager(rootView)
.setViewsToMove(views)
When a SnackProgressBar is shown or dismissed, these views will be animated accordingly.