{"id":13396074,"url":"https://github.com/worldline/FoldableLayout","last_synced_at":"2025-03-13T22:31:39.956Z","repository":{"id":57729445,"uuid":"44817543","full_name":"worldline/FoldableLayout","owner":"worldline","description":"An Android demo of a foldable layout implementation. Engineered by Vincent Brison.","archived":false,"fork":false,"pushed_at":"2018-05-04T21:21:06.000Z","size":28383,"stargazers_count":601,"open_issues_count":2,"forks_count":100,"subscribers_count":43,"default_branch":"master","last_synced_at":"2024-07-31T18:16:27.021Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/worldline.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-10-23T14:17:41.000Z","updated_at":"2024-05-29T18:26:30.000Z","dependencies_parsed_at":"2022-09-10T22:22:52.380Z","dependency_job_id":null,"html_url":"https://github.com/worldline/FoldableLayout","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldline%2FFoldableLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldline%2FFoldableLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldline%2FFoldableLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worldline%2FFoldableLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/worldline","download_url":"https://codeload.github.com/worldline/FoldableLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243493815,"owners_count":20299722,"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-07-30T18:00:39.076Z","updated_at":"2025-03-13T22:31:39.256Z","avatar_url":"https://github.com/worldline.png","language":"Java","readme":"Foldable Layout\n=================\nThis code is a showcase of a foldable animation I created for Worldline. The code is fully written\nwith java APIs from the Android SDK, without the use of any external library. This code is a demo and not a library.\nThe foldable layout is a layout (strictly a RelativeLayout), which can have two child layouts, one for the cover, and\none for the details. The foldable layout takes care of the folding animation between those two layouts.\n\nIn the demo the foldable layout is used in a RecyclerView, to show that it can manage well its size even during animation.\n\n![](https://raw.githubusercontent.com/worldline/FoldableLayout/dev/screenshots/demo.gif)\n\u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=XOAcNW82dl8\n\" target=\"_blank\"\u003e\u003cimg src=\"http://img.youtube.com/vi/XOAcNW82dl8/0.jpg\"\nalt=\"IMAGE ALT TEXT HERE\" width=\"240\" height=\"180\" border=\"10\" /\u003e\u003c/a\u003e\n\n\nUnder the hood\n==============\nWork in progress.\n\nIs a library available ?\n========================\nThe library is available as is. No support guarantied. This is more a showcase, and if you want to use it, I greatly recommend you to understand the code from the `foldablelayout` and adapt it\nto your usage.\n\n - Ensure you can pull artifacts from Maven Central :\n\n   ```gradle\n   repositories {\n     mavenCentral()\n   }\n   ```\n\n - And add to your module gradle file :\n\n   ```gradle   \n   dependencies {\n     compile 'com.vincentbrison.openlibraries.android:foldablelayout:0.0.1@aar'\n   }\n   ```   \n\nLicense\n=======\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":["Index `(light-weight pages)`","Index"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldline%2FFoldableLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworldline%2FFoldableLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworldline%2FFoldableLayout/lists"}