android - How to animate FloatingActionButton of new Design Support Library -


i using tablayout 5 different fragments. on 3 of these fragments android.support.design.widget.floatingactionbutton should appear. right set visibility of fab when tab changes, have animation, fab comes in , out. how can achieve in android?

the hide/show animation shrink/pop automatically handled new version of support library.(22.2.1) ontabchange listener show or hide floating action button using show/hide methods provided new library.

fab.show(); or fab.hide();


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -