Closed AndroidDeveloperLB closed 9 years ago
Check out the sample app. It has examples of a FAB and how to show/hide it. Let me know if there's something specific you're looking for.
I already tested it. It either has a FAB with menu, or hide it. What's the best way to transition between different FABs ?
Which transition are you referring to? Do you mean transitioning between FABs when swiping between tabs?
When you swipe between fragments, you can have this transiton of FABs (animation when of the FAB itself when switching between fragments) : https://material-design.storage.googleapis.com/publish/material_v_4/material_ext_publish/0B6Okdz75tqQsVlhxNGJCNTEzNFU/components-buttons-fab-behavior_04_xhdpi_009.webm
On Mon, Aug 17, 2015 at 11:01 AM, Gordon Wong notifications@github.com wrote:
Which transition are you referring to? Do you mean transitioning between FABs when swiping between tabs?
— Reply to this email directly or view it on GitHub https://github.com/gowong/material-sheet-fab/issues/4#issuecomment-131722197 .
I haven't implemented such a transition myself, but I imagine that you can get the effect you're after by using scale animations on two FABs, shrinking one FAB and expanding the other. Since this isn't a question about the library, you should post on StackOverflow so that other people can help you out.
To show how it's best to transition between different FABs ...