markormesher/android-fab

Scrollable speed-dial menu

Opened this issue · 4 comments

Is there a way to make speed-dial menu scrollable? If there are too many items, they go out of the screen.

Hey @rolenin. Scrolling the speed-dial menu isn't currently possible in the library, but I suppose it could be added.

Can I ask how many items you're trying to show? According to the material design guidelines for FABs, the speed-dial menu should contain "no more than six options". Obviously these are guidelines not absolute rules, but they're worth keeping in mind. How many items are you able to fit before they flow off the screen?

Mark, thanks for your reply.
I am going to ship my app with only two predefined values, however I'd like to make users able to add as many items as they want. So it's up to them how many items the fab is going to have.
I guess even breaking some design rules, the scrollable menu might look nicely and be really handy.

Seems like a pretty good use case for a scrollable menu to me 🙂

I'll see if I can get to it next week, but I can't promise anything. Feel free to open up a PR if you want to take a shot it it yourself.

Ok, sure, thanks )
I am not expierenced enough in programming to open up PRs but it's a good opportunity for me to have a look what I can do )