CircularFloatingActionMenu

Description: You can animated, customizable circular floating menu for Android by using CircularFloatingActionMenu library.
watch the demo
Chick Here for Download CircularFloatingActionMenu library
How To Use Material Design's CircularFloatingActionMenu Library :-
Grab the AAR from Maven Central by adding it as a dependency in your build.gradle file:
dependencies {
compile 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
}
Alternatively, clone the repo and add
library
as a module to your project.
How to create a button to attach the menu:
// in Activity Context
ImageView icon = new ImageView(this); // Create an icon
icon.setImageDrawable( ... );
FloatingActionButton actionButton = new FloatingActionButton.Builder(this)
.setContentView(icon)
.build();
How to create menu items:
SubActionButton.Builder itemBuilder = new SubActionButton.Builder(this);
// repeat many times:
ImageView itemIcon = new ImageView(this);
itemIcon.setImageDrawable( ... );
SubActionButton button1 = itemBuilder.setContentView(itemIcon).build();
How to create the menu with the items:
FloatingActionMenu actionMenu = new FloatingActionMenu.Builder(this)
.addSubActionView(button1)
.addSubActionView(button2)
// ...
.attachTo(actionButton)
.build();
And you're ready to go!
Facebook group: Android controls
Facebook page: Android Controls
Subscribe YouTube channel: Click here
SUBSCRIBE TO OUR EMAIL NEWSLETTER & RECEIVE UPDATES RIGHT IN YOUR INBOX. Click here
If You Have Any question or Suggestions Please Feel Free to Comments .
0 comments