{"id":28003714,"url":"https://github.com/w9jds/floatingactionmenu","last_synced_at":"2025-10-04T07:52:35.900Z","repository":{"id":147898720,"uuid":"71531631","full_name":"w9jds/FloatingActionMenu","owner":"w9jds","description":"Floating Action Menu Android library built around the design FABs ","archived":false,"fork":false,"pushed_at":"2016-10-24T05:47:30.000Z","size":73,"stargazers_count":18,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-09T02:23:19.854Z","etag":null,"topics":["android","android-library","animations","floatingactionbutton","floatingactionmenu","material-design","menu"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/w9jds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-10-21T05:05:04.000Z","updated_at":"2022-11-24T07:44:10.000Z","dependencies_parsed_at":"2023-05-27T21:00:13.789Z","dependency_job_id":null,"html_url":"https://github.com/w9jds/FloatingActionMenu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/w9jds/FloatingActionMenu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w9jds%2FFloatingActionMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w9jds%2FFloatingActionMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w9jds%2FFloatingActionMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w9jds%2FFloatingActionMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w9jds","download_url":"https://codeload.github.com/w9jds/FloatingActionMenu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w9jds%2FFloatingActionMenu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278283455,"owners_count":25961311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","animations","floatingactionbutton","floatingactionmenu","material-design","menu"],"created_at":"2025-05-09T02:19:17.631Z","updated_at":"2025-10-04T07:52:35.894Z","avatar_url":"https://github.com/w9jds.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FloatingActionMenu [![Build Status](https://travis-ci.com/w9jds/FloatingActionMenu.svg?token=1b4pt5U1oA46nUYTBosj\u0026branch=master)](https://travis-ci.com/w9jds/FloatingActionMenu)\n\nFloating Action Menu Android Library, Built specifically on top of the Design support library `FloatingActionButton`.\n\n![Example Video One](http://i.giphy.com/ZEOpMWjzvBGhi.gif)\n\nCurrently the library is quite limited, but hopefully it will evolve to much more. To include this library in your project, add jitpack using this:\n\n```gradle\n repositories {\n    jcenter()\n    maven { url \"https://jitpack.io\" }\n }\n ```\n\nNow add this into your dependency section in your gradle file.\n\n```gradle\ncompile 'com.github.w9jds:FloatingActionMenu:v0.1.0-alpha'\n```\n\nUsing the library is extremely easy. There is only one element inside of the library, which you then place all of you buttons inside. The following are all of the custom attributes for the element, and what they do:\n\n```\nbase_src = reference to drawable used on main FAB (default is + sign)\nbase_background = color to use on main FAB\nbase_ripple = color to use as ripple on main FAB\nbase_marginEnd = margin to use on the end of the entire menu\nbase_marginBottom = margin to use on the bottom of the menu\noverlay_color = color used on the overlay displayed when the menu is open\nitem_spacing = spacing between each item in the menu\nenable_labels = default is true\noverlay_duration = duration the overlay ripple takes to run to completion (default = 500)\nlabel_background = drawable id of the background for the labels\nlabel_fontSize = font size you want to use for your labels\nlabel_fontColor = font color you want to use for your labels (default = black)\nlabel_marginEnd = space between the end of the label and the action button it belongs to\nactions_duration = duration of the actions opening (default = 300)\n```\n\nUseage should look something like this:\n\n```xml\n\u003ccom.w9jds.FloatingActionMenu\n    android:id=\"@+id/action_menu\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    app:base_src=\"@drawable/ic_positive\"\n    app:base_background=\"@color/colorAccent\"\n    app:base_marginEnd=\"8dp\"\n    app:base_marginBottom=\"8dp\"\n    app:overlay_color=\"#66000000\"\n    app:item_spacing=\"16dp\"\n    app:label_marginEnd=\"8dp\"\u003e\n\n    \u003candroid.support.design.widget.FloatingActionButton\n        android:id=\"@+id/scan_item\"\n        app:backgroundTint=\"@android:color/white\"\n        android:src=\"@drawable/ic_qr_code\"\n        android:layout_height=\"wrap_content\"\n        android:layout_width=\"wrap_content\"\n        android:contentDescription=\"Scan Qr Code\" /\u003e\n\n    \u003candroid.support.design.widget.FloatingActionButton\n        android:id=\"@+id/search_item\"\n        app:backgroundTint=\"@android:color/white\"\n        android:src=\"@drawable/ic_search\"\n        android:layout_height=\"wrap_content\"\n        android:layout_width=\"wrap_content\"\n        android:contentDescription=\"Search\" /\u003e\n\n\u003c/com.w9jds.FloatingActionMenu\u003e\n```\n\nNOTE: You can attach click listeners to the action buttons directly. However, I highly recommend using the `addOnMenuItemClickListener` instead, due to the view handling closing the menu for you before firing your action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw9jds%2Ffloatingactionmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw9jds%2Ffloatingactionmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw9jds%2Ffloatingactionmenu/lists"}