Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a library for Floating Action Buttons (FAB) with Labels?

Is there a library for creating Floating Action Buttons with labels (similar to the Evernote app)?

Evernote Screenshot

The popular libraries seem to be

  • https://github.com/futuresimple/android-floating-action-button (closest to what I want... ability to expand hide "sub" actions)
  • https://github.com/makovkastar/FloatingActionButton (Primary function is to hide/show with a scrollview, recyclerview, or listview)
  • https://github.com/oguzbilgener/CircularFloatingActionMenu (library which has been around pre-lollipop)

Neither of these, to my knowledge, have this capability. Before re-inventing the wheel, has somebody already done this?

like image 407
loeschg Avatar asked Nov 04 '14 16:11

loeschg


People also ask

Which library can you use to implement a FloatingActionButton?

Floating Action Button using Fab Option Library in Android.

How do I import a floating action button?

Add the floating action button to your layoutThe size of the FAB, using the app:fabSize attribute or the setSize() method. The ripple color of the FAB, using the app:rippleColor attribute or the setRippleColor() method. The FAB icon, using the android:src attribute or the setImageDrawable() method.


1 Answers

This feature request ended up being implemented in https://github.com/futuresimple/android-floating-action-button. This includes labels on both the left and right sides.

If you're interested, see the discussion here: https://github.com/futuresimple/android-floating-action-button/issues/22#issuecomment-66155108

Disclaimer: I haven't used this (yet).

I'd recommend this library over others that I've seen.

like image 189
loeschg Avatar answered Oct 15 '22 06:10

loeschg