{"id":13765283,"url":"https://github.com/dmytrodanylyk/android-morphing-button","last_synced_at":"2025-04-07T23:13:13.025Z","repository":{"id":1772825,"uuid":"42258719","full_name":"dmytrodanylyk/android-morphing-button","owner":"dmytrodanylyk","description":"Android Morphing Button","archived":false,"fork":false,"pushed_at":"2024-04-15T11:14:33.000Z","size":515,"stargazers_count":1427,"open_issues_count":12,"forks_count":218,"subscribers_count":37,"default_branch":"master","last_synced_at":"2024-04-16T12:04:46.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/dmytrodanylyk.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}},"created_at":"2015-09-10T17:08:29.000Z","updated_at":"2024-04-18T11:03:28.933Z","dependencies_parsed_at":"2024-04-18T11:13:32.492Z","dependency_job_id":null,"html_url":"https://github.com/dmytrodanylyk/android-morphing-button","commit_stats":{"total_commits":58,"total_committers":10,"mean_commits":5.8,"dds":0.6379310344827587,"last_synced_commit":"44e525609a45e316a04ceb3f267d47b3c05c387b"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Fandroid-morphing-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Fandroid-morphing-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Fandroid-morphing-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmytrodanylyk%2Fandroid-morphing-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmytrodanylyk","download_url":"https://codeload.github.com/dmytrodanylyk/android-morphing-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744335,"owners_count":20988783,"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-03T16:00:36.496Z","updated_at":"2025-04-07T23:13:13.006Z","avatar_url":"https://github.com/dmytrodanylyk.png","language":"Java","funding_links":[],"categories":["Java","\u003e 1K ⭐️"],"sub_categories":[],"readme":"[![](https://jitpack.io/v/dmytrodanylyk/android-morphing-button.svg)](https://jitpack.io/#dmytrodanylyk/android-morphing-button)\n## Description [Android morphing button]\n\n### Description for the android-morphing Button\n\nAndroid button which can morph from one shape to another, also with the feature of changing color.\n\n\u003cimg src=\"screenshots/intro1.gif\" width=\"380\" /\u003e\n\nYou can easily extend `MorphingButton` to add your own behaviour. Below is example of `LinearProgressButton` which extends `MorphingButton`.\n\n\u003cimg src=\"screenshots/intro2.gif\" width=\"380\" /\u003e\n\n### Sample code:-\n\n```java\n// sample demonstrate how to morph button to green circle with icon\nMorphingButton btnMorph = (MorphingButton) findViewById(R.id.btnMorph);\n// inside on click event\nMorphingButton.Params circle = MorphingButton.Params.create()\n        .duration(500)\n        .cornerRadius(dimen(R.dimen.mb_height_56)) // 56 dp\n        .width(dimen(R.dimen.mb_height_56)) // 56 dp\n        .height(dimen(R.dimen.mb_height_56)) // 56 dp\n        .color(color(R.color.green)) // normal state color\n        .colorPressed(color(R.color.green_dark)) // pressed state color\n        .icon(R.drawable.ic_done); // icon\nbtnMorph.morph(circle);\n```\n\n### Wikipedia:-\n\n- Home // TODO\n- User Guide // TODO\n\n### Integration:-\n\nThe lib is available on https://jitpack.io.\n\n```groovy\nrepositories {\n    jcenter()\n    maven { url \"https://jitpack.io\" }\n}\n\ndependencies {\n    compile 'com.github.dmytrodanylyk:android-morphing-button:1.0'\n}\n```\n\n### License\n\n```\nThe MIT License (MIT)\n\nCopyright (c) 2016 Danylyk Dmytro\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```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmytrodanylyk%2Fandroid-morphing-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmytrodanylyk%2Fandroid-morphing-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmytrodanylyk%2Fandroid-morphing-button/lists"}