{"id":20047702,"url":"https://github.com/bitvale/fabdialog","last_synced_at":"2025-05-05T10:31:23.289Z","repository":{"id":221806909,"uuid":"141666845","full_name":"bitvale/FabDialog","owner":"bitvale","description":":balloon: Fab into Dialog Animation on Android","archived":false,"fork":false,"pushed_at":"2018-08-13T03:38:30.000Z","size":756,"stargazers_count":35,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T21:22:41.812Z","etag":null,"topics":["android","android-library","android-ui","dialog","fab","ui"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitvale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-07-20T05:20:14.000Z","updated_at":"2025-03-13T04:36:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6bf4e4e-d290-4e88-8d60-52a4e8d14d7a","html_url":"https://github.com/bitvale/FabDialog","commit_stats":null,"previous_names":["bitvale/fabdialog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FFabDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FFabDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FFabDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitvale%2FFabDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitvale","download_url":"https://codeload.github.com/bitvale/FabDialog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252480447,"owners_count":21754776,"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":["android","android-library","android-ui","dialog","fab","ui"],"created_at":"2024-11-13T11:37:23.565Z","updated_at":"2025-05-05T10:31:23.283Z","avatar_url":"https://github.com/bitvale.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"FabDialog\n=================\n\n\u003cimg src=\"/art/preview.gif\" alt=\"sample\" title=\"sample\" width=\"320\" height=\"540\" align=\"right\" vspace=\"52\" /\u003e\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Platform](https://img.shields.io/badge/platform-android-green.svg)](http://developer.android.com/index.html)\n[![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21)\n\nThis is an Android project allowing to animate a custom Floating Action Button into a custom Dialog.\n\nUSAGE\n-----\n\nJust add FabDialog view in your layout XML and FabDialog library in your project via Gradle:\n\n```gradle\ndependencies {\n  implementation 'com.bitvale:fabdialog:1.0.1'\n}\n```\n\nXML\n-----\n\n```xml\n\u003ccom.bitvale.fabdialog.widget.FabDialog\n    android:id=\"@+id/dialog_fab\"\n    android:layout_width=\"@dimen/fab_size\"\n    android:layout_height=\"@dimen/fab_size\"\n    android:layout_marginEnd=\"@dimen/fab_margin\"\n    android:layout_marginBottom=\"@dimen/fab_margin\"\n    android:padding=\"@dimen/fab_padding\"\n    app:dialogBackgroundColor=\"@color/dialogColor\"\n    app:fabIcon=\"@drawable/android_icon\" /\u003e\n```\n\nYou must use the following properties in your XML to change your FabDialog.\n\n\n##### Properties:\n\n* `app:fabBackgroundColor`          (color)     -\u003e default  ?attr/colorAccent\n* `app:dialogBackgroundColor`       (color)     -\u003e default  ?attr/colorBackgroundFloating\n* `app:dialogCornerRadius`          (dimension) -\u003e default  8dp\n* `app:dimBackgroundEnabled`        (boolean)   -\u003e default  true\n* `app:dimBackgroundColor`          (color)     -\u003e default  BLACK with transparency (#99000000)\n* `app:closeOnTouchOutside`         (boolean)   -\u003e default  true\n\nKotlin\n-----\n\n```kotlin\nwith(dialog_fab) {\n    setTitle(R.string.dialog_title)\n    setMessage(R.string.dialog_message)\n    setDialogIcon(R.drawable.android_icon)\n    setFabIcon(R.drawable.android_icon)\n    setFabBackgroundColor(ContextCompat.getColor(context, R.color.fabColor))\n    setDialogBackgroundColor(ContextCompat.getColor(context, R.color.dialogColor))\n    setPositiveButton(R.string.positive_btn) { // some action }\n    setNegativeButton(R.string.negative_btn) { dialog_fab.collapseDialog() }\n    setOnClickListener { dialog_fab.expandDialog() }\n    setListener(this@MainActivity)\n}\n```\n\nLICENCE\n-----\n\nFabDialog by [Alexander Kolpakov](https://play.google.com/store/apps/dev?id=7044571013168957413) is licensed under a [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitvale%2Ffabdialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitvale%2Ffabdialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitvale%2Ffabdialog/lists"}