android-fab icon indicating copy to clipboard operation
android-fab copied to clipboard

Scrollable speed-dial menu

Open rolenin opened this issue 6 years ago • 4 comments

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

rolenin avatar Mar 05 '19 12:03 rolenin

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?

markormesher avatar Mar 10 '19 12:03 markormesher

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.

rolenin avatar Mar 10 '19 14:03 rolenin

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.

markormesher avatar Mar 10 '19 15:03 markormesher

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 )

rolenin avatar Mar 10 '19 15:03 rolenin