Skip to content

Instantly share code, notes, and snippets.

@codenameone
Created September 15, 2016 09:56
Show Gist options
  • Save codenameone/aa4180054368f61176c55979010d757b to your computer and use it in GitHub Desktop.
Save codenameone/aa4180054368f61176c55979010d757b to your computer and use it in GitHub Desktop.
Shows a nested Codename One floating button
FloatingActionButton fab = FloatingActionButton.createFAB(FontImage.MATERIAL_ADD);
fab.createSubFAB(FontImage.MATERIAL_PEOPLE, "");
fab.createSubFAB(FontImage.MATERIAL_IMPORT_CONTACTS, "");
fab.bindFabToContainer(hi.getContentPane());
@codenameone
Copy link
Author

The floating button class is a part of the Codename One API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment