Floating-ArcMenu
New Features in v1.1.0.2
- SnackBar move up/down event added to ArcMenu and FloatActionButton (by using CoordinatorLayout as parent)
- Set FloatActionButton icon size programmatically
- Change FloatActionButton icon size by changing FloatActionButton size
- Set ArcMenu icon size programmatically
- New "setOnShrinkExpandClickListener" for FloatActionButton which can add new animation to fab.
Android floating arc menu which reacts on scrolling events. Becomes visible when an attached target is scrolled up and invisible when scrolled down.
1) Add the com.bvapp.arcmenulibrary.ArcMenu
to your layout XML file. You can put the menu in everywhere you want.
The width and height of the floating arc menu are hardcoded to 64dp for the large, 56dp for the normal and 42dp
for the mini menu button.
2) Add java code in activity or fragment
New Features in v1.0.9.5
User will able to add or delet or replace munu child or user can removeAllchild from the menu and initialize it again, also user will able to access OnClickListener and user can change menu icon programmatically. even user will able to add 2 Drawable icons, one for close form and one for open and menu automatically change the icons by order.
New Features in v1.0.9.2
New plus marker added to menu, if user doesn't want to set icon for menu it will add plus marker automatically for menu.
New methods:
In this version new fab added as internarl FloatingActionButton and you can add it as children for this menu, also user can add fab icon programmatically. this sample has shown how to use different method and fab button for Floating-ArcMenu.
Usage
Step 1. Add it in your root build.gradle at the end of repositories:
Step 2. Add the dependency