Reputation: 281
I want that when an item is added to cart the flaoting action button show open this layout. Does anyone have an idea how to do this..
This is the floating action button at the bottom right corner
This is how the layout must open on fab click
Please help me do this..
Upvotes: 1
Views: 3381
Reputation: 3364
You have 3 options,
Option 1
On clicking fab just hide it and show a custom dialog box to the exact same position you want.
Option 2
Use a custom SnackBar and display it , example link here
Option 3
Use this library FABRevealLayout to expand FAB to a layout.
Upvotes: 1