{"id":37024608,"url":"https://github.com/nambicompany/expandable-fab","last_synced_at":"2026-01-14T02:58:53.942Z","repository":{"id":41328137,"uuid":"284876722","full_name":"nambicompany/expandable-fab","owner":"nambicompany","description":"A highly customizable 'speed dial' FloatingActionButton implementation. ","archived":false,"fork":false,"pushed_at":"2021-10-21T08:16:37.000Z","size":8876,"stargazers_count":199,"open_issues_count":1,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-11-07T15:25:13.009Z","etag":null,"topics":["android","android-library","android-ui","expandablefab-widget","floating-action-button","floatingactionbutton","kotlin","kotlin-android","kotlin-library","material-design","speed-dial","widget"],"latest_commit_sha":null,"homepage":"https://nambicompany.github.io/expandable-fab/","language":"Kotlin","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/nambicompany.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-04T04:26:36.000Z","updated_at":"2023-10-12T06:37:45.000Z","dependencies_parsed_at":"2022-09-01T08:40:14.361Z","dependency_job_id":null,"html_url":"https://github.com/nambicompany/expandable-fab","commit_stats":null,"previous_names":[],"tags_count":9,"template":null,"template_full_name":null,"purl":"pkg:github/nambicompany/expandable-fab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nambicompany%2Fexpandable-fab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nambicompany%2Fexpandable-fab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nambicompany%2Fexpandable-fab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nambicompany%2Fexpandable-fab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nambicompany","download_url":"https://codeload.github.com/nambicompany/expandable-fab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nambicompany%2Fexpandable-fab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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","android-ui","expandablefab-widget","floating-action-button","floatingactionbutton","kotlin","kotlin-android","kotlin-library","material-design","speed-dial","widget"],"created_at":"2026-01-14T02:58:53.263Z","updated_at":"2026-01-14T02:58:53.929Z","avatar_url":"https://github.com/nambicompany.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExpandableFab\n[![Maven Central](https://img.shields.io/maven-central/v/com.nambimobile.widgets/expandable-fab)](https://search.maven.org/artifact/com.nambimobile.widgets/expandable-fab)\n[![minSdkVersion](https://img.shields.io/badge/minSdk-15-blue)](/library/build.gradle)\n[![Library License](https://img.shields.io/github/license/nambicompany/expandable-fab)](LICENSE.txt)\n\n[![expandable-fab website](https://img.shields.io/badge/docs%20%2F%20website-github.io-blue)](https://nambicompany.github.io/expandable-fab/)\n[![The Nambi Company website](https://img.shields.io/badge/visit%20us-nambi.io-blue)](http://www.nambi.io)\n\nA highly customizable Android widget that displays the available actions of a UI via an expandable set of floating action buttons - with optional labels and fluid animations.\n\nDesigned to be screen orientation aware, so it can display different elements from portrait to landscape.\n\n\n## Examples\nA working Android app filled with some common use cases and customizations of the ExpandableFab widget can be found and built under [examples](/examples). Below are a few gifs of the widget in use (this isn't an exhaustive list - the ExpandableFab can do so much more!).\n\n![gif of regular ExpandableFab in use](docs/gallery/expandable_fab.gif)\n![gif showing custom properties](docs/gallery/highly_customizable.gif)\n![gif of using custom sizes](docs/gallery/custom_sizes.gif)\n\n![gif of using multiple ExpandableFabs](docs/gallery/multiple_expandable_fabs.gif)\n![gif showing compatibility with BottomAppBar](docs/gallery/bottom_app_bar_compatibility.gif)\n![gif showing compatibility with Snackbar](docs/gallery/snackbar_compatibility.gif)\n\n\n## Usage\nConsider reading our Medium articles on [what the ExpandableFab is](https://uxdesign.cc/a-modern-take-on-the-expandable-floating-action-button-for-android-aka-speed-dial-4146e63c658c) and [how to use it](https://uxdesign.cc/how-to-use-the-expandable-floating-action-button-9c6fdedc4169) if you prefer a more in-depth walkthrough.\n\nOtherwise, simply include the ExpandableFab widget in your project via Gradle (replace X.X.X with the latest version shown here [![Maven Central](https://img.shields.io/maven-central/v/com.nambimobile.widgets/expandable-fab)](https://search.maven.org/artifact/com.nambimobile.widgets/expandable-fab)):\n\n```groovy\nimplementation 'com.nambimobile.widgets:expandable-fab:X.X.X'\n```\n\nor Maven:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.nambimobile.widgets\u003c/groupId\u003e\n  \u003cartifactId\u003eexpandable-fab\u003c/artifactId\u003e\n  \u003cversion\u003eX.X.X\u003c/version\u003e\n  \u003ctype\u003eaar\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\nThen easily add some of the ExpandableFab widget views to your layout like so:\n\n```xml\n\u003c!-- This is NOT a root view, but should be a child of whatever root view you choose (CoordinatorLayout, ConstraintLayout, etc) --\u003e\n\u003ccom.nambimobile.widgets.efab.ExpandableFabLayout\n  android:layout_width=\"match_parent\"\n  android:layout_height=\"match_parent\"\u003e\n  \n  \u003c!-- The next 3 Views will only display in portrait orientation --\u003e          \n  \u003ccom.nambimobile.widgets.efab.Overlay\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    app:overlay_orientation=\"portrait\"/\u003e\n  \u003ccom.nambimobile.widgets.efab.ExpandableFab\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:layout_gravity=\"bottom|end\"\n    android:layout_marginBottom=\"@dimen/ui_margin_medium\"\n    android:layout_marginEnd=\"@dimen/ui_margin_medium\"\n    android:layout_marginRight=\"@dimen/ui_margin_medium\"\n    app:efab_orientation=\"portrait\"/\u003e\n  \u003ccom.nambimobile.widgets.efab.FabOption\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:fab_orientation=\"portrait\"\n    app:label_text=\"Portrait Option 1\"\n    android:onClick=\"onClickPortraitOption1\"/\u003e\n\n  \u003c!-- The next 3 Views will only display in landscape orientation --\u003e\n  \u003ccom.nambimobile.widgets.efab.Overlay\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    app:overlay_orientation=\"landscape\"/\u003e\n  \u003ccom.nambimobile.widgets.efab.ExpandableFab\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:layout_gravity=\"bottom|end\"\n    android:layout_marginBottom=\"@dimen/ui_margin_medium\"\n    android:layout_marginEnd=\"@dimen/ui_margin_medium\"\n    android:layout_marginRight=\"@dimen/ui_margin_medium\"\n    app:efab_orientation=\"landscape\"/\u003e\n  \u003ccom.nambimobile.widgets.efab.FabOption\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:fab_orientation=\"landscape\"\n    app:label_text=\"Landscape Option 1\"\n    android:onClick=\"onClickLandscapeOption1\"/\u003e\n            \n\u003c/com.nambimobile.widgets.efab.ExpandableFabLayout\u003e\n```\n\n### Usage Notes\n* Make sure to include the `xmlns:app=\"http://schemas.android.com/apk/res-auto` namespace in each layout file that uses the ExpandableFab widget in order to have access to custom properties.\n* Setting ExpandableFabLayout's width and height to match_parent will not impede the viewability, clickability or focusability of any other views in your layout (and is needed for children like `Overlay` who may need the ability to use the full screen).\n* Defining separate widgets for portrait and landscape orientations is not necessary and was done above simply to showcase the widget's orientation awareness. By default, if you only define one widget, it will automatically be used for both portrait and landscape orientations.\n* Every property in every View within the ExpandableFab widget can be accessed or set programmatically *and* via XML layout files.\n* None of the customizable properties for the widget Views were set in the example above, so they will all assume their default values automatically.\n    * See the [library website](https://nambicompany.github.io/expandable-fab/) for a full list of every customizable property for each View, the full Kotlin/Java Docs and many more helpful notes and tips on using the ExpandableFab.\n\n\n## ChangeLog\nPlease see [CHANGELOG.md](/CHANGELOG.md) for a complete account of all changes in each release of this library.\n\n\n## Contributing\nPlease see [CONTRIBUTING.md](/CONTRIBUTING.md) for information about contributing to this library.\n\n\n## License\n```\nMIT License\n\nCopyright (c) 2020 Kelvin Abumere and The Nambi Company\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnambicompany%2Fexpandable-fab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnambicompany%2Fexpandable-fab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnambicompany%2Fexpandable-fab/lists"}