{"id":13644277,"url":"https://github.com/alexstyl/Material-SearchTransition","last_synced_at":"2025-04-21T07:30:44.874Z","repository":{"id":148836848,"uuid":"67957964","full_name":"alexstyl/Material-SearchTransition","owner":"alexstyl","description":"A demo showcasing how to implement a Dial app-like Toolbar transition","archived":false,"fork":false,"pushed_at":"2021-09-23T10:34:36.000Z","size":430,"stargazers_count":407,"open_issues_count":0,"forks_count":57,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-08T19:59:55.534Z","etag":null,"topics":["animation","material","searchbar","stock-android","transition"],"latest_commit_sha":null,"homepage":"","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/alexstyl.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,"roadmap":null,"authors":null}},"created_at":"2016-09-11T22:34:30.000Z","updated_at":"2025-03-13T06:28:29.000Z","dependencies_parsed_at":"2023-07-02T02:07:49.130Z","dependency_job_id":null,"html_url":"https://github.com/alexstyl/Material-SearchTransition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexstyl%2FMaterial-SearchTransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexstyl%2FMaterial-SearchTransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexstyl%2FMaterial-SearchTransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexstyl%2FMaterial-SearchTransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexstyl","download_url":"https://codeload.github.com/alexstyl/Material-SearchTransition/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250014570,"owners_count":21360975,"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":["animation","material","searchbar","stock-android","transition"],"created_at":"2024-08-02T01:02:00.368Z","updated_at":"2025-04-21T07:30:44.310Z","avatar_url":"https://github.com/alexstyl.png","language":"Java","funding_links":[],"categories":["SearchView"],"sub_categories":[],"readme":"# Material-SearchTransition\n\nThis is a sample project showcasing how a transition to Search can be achieved similar to how it can be found in the [Android stock Dialer app](https://play.google.com/store/apps/details?id=com.google.android.dialer).\n\nThe main difference to the implementation found in the stock Dialer app is that you have two separate Activities (MainActivity and SearchActivity) in the demo, as opposed to having a huge activity that has the logic for both.\n\nThe searchbar is an actual [`Toolbar`](https://developer.android.com/reference/android/widget/Toolbar.html) view, which allows you to still use all the things you get for free (such as the Navigation button, inflate a custom Menu etc) using the API you already know. No custom views trying to replicate behavior that is given by the system.\n\nThe demo is using the [`Transition` API](https://developer.android.com/reference/android/transition/package-summary.html)  with a combination of custom Activity transitions.\n\n\n### How it looks like\n\n![Transition to Search](https://github.com/alexstyl/Material-SearchTransition/blob/art/transition-to-search.gif?raw=true)\n\n### Jump straight to code\n\nTo get started, have a look at the  [MainActivity](https://github.com/alexstyl/Material-SearchTransition/blob/master/app/src/main/java/com/alexstyl/searchtransition/mainscreen/MainActivity.java#L30) class. Enjoy! \n\n### Just code is not enough?\n\nThe full explanation and exploration of transitions can be found at [Exposing the Searchbar](https://alexstyl.com/exposing-the-searchbar/)\n\n\n### License\n```\nMIT License\n\nCopyright (c) 2016 Alex Styl\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%2Falexstyl%2FMaterial-SearchTransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexstyl%2FMaterial-SearchTransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexstyl%2FMaterial-SearchTransition/lists"}