How to animate FloatingActionButton of new Design Support Library

后端 未结 5 1637
梦谈多话
梦谈多话 2020-12-28 09:06

I am using a TabLayout with 5 different fragments. On 3 of these fragments a android.support.design.widget.FloatingActionButton should appear. Right now I simpl

5条回答
  •  执笔经年
    2020-12-28 09:33

    The design support library revision 22.2.1 (July 2015) added the hide() and show() methods to the FloatingActionButton class, so you can use these from now on.

    http://developer.android.com/tools/support-library/index.html

提交回复
热议问题