Clans / FloatingActionButton

Android Floating Action Button based on Material Design specification
Apache License 2.0
5.23k stars 1.13k forks source link

floating action library animation problem and landscape mode loose buttons on screen? #479

Open hackertom opened 4 years ago

hackertom commented 4 years ago

PROBELM 1:

As default the animation on big menu button when user click and drawable is "+" rotate animation go to left and replaced with "x", how change the left position animation to right position animation?

PROBLEM 2:

When I add 6 mini buttons on dab and rotate my divide to landscape mode the last mini button hide on screen! And I use 6" mobile phone! How I fix this problems on my phone and smaller screen sizes phones?

kabumere commented 3 years ago

This library hasn't been updated in 3 years. Consider using ExpandableFab to achieve your desired functionality.

You can replace the main icon (it also defaults to a + sign) and you can change the direction it spins when click, and the speed in which it spins.

It's also screen orientation aware, solving your second issue. You can have the ExpandableFab display a different set of issues from portrait to landscape mode, or just customize the margins between each option.

Let me know if you try it and have any questions.