How to set icon to getbase FloatingActionsMenu

后端 未结 2 1035
你的背包
你的背包 2021-01-19 13:50

I\'m using the com.getbase.floatingactionbutton.FloatingActionsMenu for expandable FAB. But unable to set icon on fab menu. I have tried with set background drawable, but no

2条回答
  •  [愿得一人]
    2021-01-19 14:22

    I'd rather suggest using this library which is derived from com.getbase.floatingactionbutton.FloatingActionsMenu only.

    You could change the icon by using following attribute in FloatingActionMenu:

    fab:fab_menuIcon="@drawable/sort"
    

    You can however use all the features of the parent library (com.getbase.floatingactionbutton.FloatingActionsMenu).

提交回复
热议问题