Reputation: 4861
It's possible to use CoordinatorLayout and custom FloatingActionButton like this:
Futuresimple - FloatingActionButton
or
in new AppCompat Snackbar (to automatically move upward as the snackbar animates in and returns to its position when the snackbar animates out on)?
Upvotes: 3
Views: 1908
Reputation: 363449
You can use these libraries, hovewer, some built-in features are enabled only with the standard FloatingActionButton
and the CoordinatorLayout
.
By specifying Behaviors for child views of a CoordinatorLayout you can provide many different interactions. FloatingActionButton
has its
FloatingActionButton.Behavior and the animation in the SnackBar
is realized by the Snackbar.Behavior which extends the SwipeDismissBehavior.
Upvotes: 1