{"id":13645253,"url":"https://github.com/badoualy/morphy-toolbar","last_synced_at":"2025-09-28T21:31:10.741Z","repository":{"id":81532648,"uuid":"50870918","full_name":"badoualy/morphy-toolbar","owner":"badoualy","description":"A morphing toolbar that can expand/collapse at anytime","archived":true,"fork":false,"pushed_at":"2016-05-27T07:03:03.000Z","size":5740,"stargazers_count":1076,"open_issues_count":1,"forks_count":109,"subscribers_count":33,"default_branch":"master","last_synced_at":"2024-09-27T03:23:06.366Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/badoualy.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}},"created_at":"2016-02-01T21:04:25.000Z","updated_at":"2024-09-14T00:02:32.000Z","dependencies_parsed_at":"2023-10-20T18:14:40.683Z","dependency_job_id":null,"html_url":"https://github.com/badoualy/morphy-toolbar","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoualy%2Fmorphy-toolbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoualy%2Fmorphy-toolbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoualy%2Fmorphy-toolbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoualy%2Fmorphy-toolbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badoualy","download_url":"https://codeload.github.com/badoualy/morphy-toolbar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234563143,"owners_count":18853060,"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:32.163Z","updated_at":"2025-09-28T21:31:04.696Z","avatar_url":"https://github.com/badoualy.png","language":"Java","readme":"[![Release](https://jitpack.io/v/badoualy/morphy-toolbar.svg)](https://jitpack.io/#badoualy/morphy-toolbar)\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-morphy--toolbar-green.svg?style=true)](https://android-arsenal.com/details/1/3133)\n\n# ![](https://github.com/badoualy/morphy-toolbar/blob/master/sample/src/main/res/mipmap-mdpi/ic_launcher.png) Morphy Toolbar\n\n\u003cimg src=\"https://github.com/badoualy/morphy-toolbar/blob/master/ART/gif1.gif\" width=\"300\"\u003e\n\u003cimg src=\"https://github.com/badoualy/morphy-toolbar/blob/master/ART/gif2.gif\" width=\"300\"\u003e\n\u003cimg src=\"https://github.com/badoualy/morphy-toolbar/blob/master/ART/gif4.gif\" width=\"300\"\u003e\n\u003cimg src=\"https://github.com/badoualy/morphy-toolbar/blob/master/ART/gif3.gif\" width=\"300\"\u003e\n\u003cimg src=\"https://github.com/badoualy/morphy-toolbar/blob/master/ART/gif5.gif\" width=\"300\"\u003e\n\n### Ever wanted a beautiful transition when switching fragments? \nMorphy Toolbar is your answer :)\n\n## Overview\n\n\u003e Why did I create this library? I often read questions on stack overflow on how to reproduce an animation like this one, more or less always resulting in the use of the design support library **CollapsibleToolbar**. However, I find this library to be quite buggy, and it aims to be used for scrolling events.\u003cbr/\u003e\n\u003e I needed this library to have a custom toolbar with a picture, title and subtitle, and the possibility to animate it when **switching fragments**.\n\n- **Easiest integration ever**\n- No need to handle transitions or whatever youself\n- Perfect to animate a small changes **statically** without scrolling events\n- Several customisations already possible, more to come\n- Smooth animation for transitions (for example when switching fragments)\n\nSample\n----------------\n\nYou can checkout the [Sample Application](https://play.google.com/store/apps/details?id=com.github.badoualy.morphytoolbar.sample) on the Play Store\n\nSetup\n----------------\n\nFirst, add jitpack in your build.gradle at the end of repositories:\n ```gradle\nrepositories {\n    // ...       \n    maven { url \"https://jitpack.io\" }\n}\n```\n\nThen, add the library dependency:\n```gradle\ncompile 'com.github.badoualy:morphy-toolbar:1.0.4'\n```\n\nNow go do some awesome stuff!\n\nUsage\n----------------\n``` java\n// Attach to the given activity/toolbar\nMorphyToolbar morphyToolbar = MorphyToolbar.builder(this, toolbar)\n        .withToolbarAsSupportActionBar()\n        .withTitle(\"Minions [not so] serious talk\")\n        .withSubtitle(\"160 participants\")\n        .withPicture(R.drawable.img_profile)\n        .withHidePictureWhenCollapsed(false)\n        .build();\n        \nmorphyToolbar.expand();\nmorphyToolbar.collapse();\n```\n\nAll the customizations are made using the builder methods, you can chose to hide the picture when in collpased mode, to not have any subtitle, ...\n\nI'll gladly accept any merge request to enhance this library\n\nLicence\n----------------\n```\nThe MIT License (MIT)\n\nCopyright (c) 2015 Yannick Badoual\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","funding_links":[],"categories":["Java","Toolbar"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoualy%2Fmorphy-toolbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadoualy%2Fmorphy-toolbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoualy%2Fmorphy-toolbar/lists"}