{"id":13645196,"url":"https://github.com/bowyer-app/FabTransitionLayout","last_synced_at":"2025-04-21T13:32:07.175Z","repository":{"id":35899144,"uuid":"40185751","full_name":"bowyer-app/FabTransitionLayout","owner":"bowyer-app","description":"Deprecated","archived":false,"fork":false,"pushed_at":"2017-12-26T16:24:09.000Z","size":2502,"stargazers_count":464,"open_issues_count":13,"forks_count":69,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-09T18:41:47.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bowyer-app.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-04T13:16:44.000Z","updated_at":"2024-08-07T21:43:10.000Z","dependencies_parsed_at":"2022-09-18T01:44:51.992Z","dependency_job_id":null,"html_url":"https://github.com/bowyer-app/FabTransitionLayout","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowyer-app%2FFabTransitionLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowyer-app%2FFabTransitionLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowyer-app%2FFabTransitionLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bowyer-app%2FFabTransitionLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bowyer-app","download_url":"https://codeload.github.com/bowyer-app/FabTransitionLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250064733,"owners_count":21368965,"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","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":[],"created_at":"2024-08-02T01:02:31.060Z","updated_at":"2025-04-21T13:32:05.756Z","avatar_url":"https://github.com/bowyer-app.png","language":"Java","readme":"# FabTransitionLayout\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FabTransitionLayout-green.svg?style=flat)](https://android-arsenal.com/details/1/2541)\n\nProvides the Floating Action Button Transition [as specified in the Material Design Guide](http://www.google.com/design/spec/components/buttons-floating-action-button.html#buttons-floating-action-button-transitions) in a simple library.\n\nIt is strongly inspired by [fab-toolbar](https://github.com/bowyer-app/fab-toolbar)\n\n| bottomsheet       | toolbar          | CoordinatorLayout|\n| :---------------: |:---------------:| :---------------:|\n|![bottomsheet](https://github.com/bowyer-app/FabTransitionLayout/blob/master/art/bottomsheet.gif)|![bottomsheet](https://github.com/bowyer-app/FabTransitionLayout/blob/master/art/toolbar.gif)|![CoordinatorLayout](https://github.com/bowyer-app/FabTransitionLayout/blob/master/art/CoordinatorLayout.gif)|\n\nUsage\n====\n### build.gradle\n\n```\nrepositories {\n    jcenter()\n}\n\ndependencies {\n    compile 'com.bowyer.app:fabtransitionlayout:0.4.0@aar'\n}\n```\n\n### Layout XML\n#### BottomSheetLayout \n```xml\n\u003cFrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n             xmlns:tools=\"http://schemas.android.com/tools\"\n             xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n             android:layout_width=\"match_parent\"\n             android:layout_height=\"match_parent\"\n        \u003e\n\n    \u003ccom.github.ksoichiro.android.observablescrollview.ObservableListView\n            android:id=\"@+id/list_view\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            /\u003e\n\n    \u003candroid.support.design.widget.FloatingActionButton\n            android:id=\"@+id/fab\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_gravity=\"bottom|end\"\n            android:layout_marginBottom=\"32dp\"\n            android:layout_marginRight=\"32dp\"\n            android:src=\"@drawable/ic_add_white_24dp\"\n            app:borderWidth=\"0dp\"\n            app:fabSize=\"normal\"\n            app:rippleColor=\"@color/primary\"\n            /\u003e\n\n    \u003ccom.bowyer.app.fabtransitionlayout.BottomSheetLayout\n            android:id=\"@+id/bottom_sheet\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            android:layout_gravity=\"bottom\"\n            app:ft_container_gravity=\"center\"\n            app:ft_color=\"@color/primary\"\u003e\n\n        \u003cListView\n                android:id=\"@+id/list_menu\"\n                android:background=\"@color/primary\"\n                android:divider=\"@null\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"wrap_content\"/\u003e\n    \u003c/com.bowyer.app.fabtransitionlayout.BottomSheetLayout\u003e\n\n\u003c/FrameLayout\u003e\n\n```\n#### FooterLayout\n```xml\n\u003cFrameLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n             xmlns:tools=\"http://schemas.android.com/tools\"\n             xmlns:app=\"http://schemas.android.com/apk/res-auto\"\n             android:layout_width=\"match_parent\"\n             android:layout_height=\"match_parent\"\n             tools:context=\".MainActivity\"\u003e\n\n    \u003ccom.github.ksoichiro.android.observablescrollview.ObservableListView\n            android:id=\"@+id/list_view\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"match_parent\"\n            /\u003e\n\n    \u003candroid.support.design.widget.FloatingActionButton\n            android:id=\"@+id/fab\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_gravity=\"bottom|end\"\n            android:layout_marginBottom=\"32dp\"\n            android:layout_marginRight=\"32dp\"\n            android:src=\"@drawable/ic_add_white_24dp\"\n            app:borderWidth=\"0dp\"\n            app:fabSize=\"normal\"\n            app:rippleColor=\"@color/primary\"\n            /\u003e\n\n    \u003ccom.bowyer.app.fabtransitionlayout.FooterLayout\n            android:id=\"@+id/fabtoolbar\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_gravity=\"bottom\"\n            app:ft_container_gravity=\"center\"\n            app:ft_color=\"@color/primary\"\u003e\n        \u003c!--add your original layout--\u003e\n    \u003c/com.bowyer.app.fabtransitionlayout.FooterLayout\u003e\n\u003c/FrameLayout\u003e\n```\n\n### Set up\n\n```java\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n        ButterKnife.bind(this);\n        initListView();\n        //set floating button to FabToolbar\n        mBottomSheetLayout.setFab(mFab);\n    }\n```\n\n### Show Hide\n\n```java\n//expand FabToolbar\nmBottomSheetLayout.expandFab();\n\n//if mBottomSheetLayout is expand,mBottomSheetLayout contract. else fab slide out.\nmBottomSheetLayout.slideOutFab();\n\n//fab slide in\nmBottomSheetLayout.slideInFab();\n\n\n```\n\n# Credits\nThis library use following libraries.\n* [CircularReveal](https://github.com/ozodrukh/CircularReveal)\n\n# Code Style\n\nFollow [SquareAndroid](https://github.com/square/java-code-styles/blob/master/configs/codestyles/SquareAndroid.xml).\n\nFeature\n====\n- [ ] A floating action button transforming into a single sheet of material\n\nLicense\n--------\n```\nCopyright (c) 2015 Bowyer\nReleased under the MIT license\nhttp://opensource.org/licenses/mit-license.php\n```\n","funding_links":[],"categories":["FAB","Libs","etc"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbowyer-app%2FFabTransitionLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbowyer-app%2FFabTransitionLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbowyer-app%2FFabTransitionLayout/lists"}