{"id":17679413,"url":"https://github.com/florent37/shrine-materialdesign2","last_synced_at":"2025-07-23T10:06:17.847Z","repository":{"id":91120242,"uuid":"133617662","full_name":"florent37/Shrine-MaterialDesign2","owner":"florent37","description":"implementation of Material Design 2 Shrine project","archived":false,"fork":false,"pushed_at":"2018-10-01T09:06:17.000Z","size":2687,"stargazers_count":218,"open_issues_count":0,"forks_count":34,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-08T05:03:03.316Z","etag":null,"topics":["2","android","design","google","io","java","kotlin","material","shrine","ui","ux"],"latest_commit_sha":null,"homepage":"https://github.com/florent37/ShapeOfView","language":"Kotlin","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/florent37.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":"2018-05-16T06:00:47.000Z","updated_at":"2025-02-04T06:12:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"9efa22f7-65f3-4cfb-aab7-84dbad4d2e6e","html_url":"https://github.com/florent37/Shrine-MaterialDesign2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/florent37/Shrine-MaterialDesign2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FShrine-MaterialDesign2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FShrine-MaterialDesign2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FShrine-MaterialDesign2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FShrine-MaterialDesign2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florent37","download_url":"https://codeload.github.com/florent37/Shrine-MaterialDesign2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FShrine-MaterialDesign2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266658004,"owners_count":23963614,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["2","android","design","google","io","java","kotlin","material","shrine","ui","ux"],"created_at":"2024-10-24T08:41:52.869Z","updated_at":"2025-07-23T10:06:17.814Z","avatar_url":"https://github.com/florent37.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shrine-MaterialDesign2\n\nTrying to reproduce some elements of Material Design 2 Shrine project on Android\n\nhttps://material.io/design/material-studies/shrine.html#about-shrine\n\n[![shrine_video](https://raw.githubusercontent.com/florent37/Shrine-MaterialDesign2/master/medias/shrine_video.gif)](https://github.com/florent37/Shrine-MaterialDesign2)\n\n# About Shrine\n\nThe Shrine app provides an online marketplace featuring lifestyle and fashion items from promoted labels. Shrine’s brand aesthetic is modern, elegant, and sophisticated, and is the unifying concept behind the various brands and products showcased.\n\n[![shrine_info_1](https://raw.githubusercontent.com/florent37/Shrine-MaterialDesign2/master/medias/shrine_info_1.png)](https://github.com/florent37/Shrine-MaterialDesign2)\n\n## Overlapping sheets\n\nThe underlying theme of Shrine’s interaction model is that of three overlapping sheets. The bottom sheet has the navigation and branding elements; the middle sheet has the main content; and the top sheet has the shopping cart.\n[![shrine_info_2](https://raw.githubusercontent.com/florent37/Shrine-MaterialDesign2/master/medias/shrine_info_2.png)](https://github.com/florent37/Shrine-MaterialDesign2)\n\n# Implementation\n\nI used [ShapeOfView](https://github.com/florent37/ShapeOfView) to allow views to have a custom shape,\n\nhttps://github.com/florent37/ShapeOfView\n\n```groovy\nimplementation 'com.github.florent37:shapeofview:1.0.7'\n```\n\nHere, to remove my view's corners, using `CutCornerView`\n\n[![shrine_info_2](https://raw.githubusercontent.com/florent37/Shrine-MaterialDesign2/master/medias/clipcorner.png)](https://github.com/florent37/Shrine-MaterialDesign2)\n\n\n\n# Button\n\n[![shape_button](https://raw.githubusercontent.com/florent37/Shrine-MaterialDesign2/master/medias/shape_button.png)](https://github.com/florent37/Shrine-MaterialDesign2)\n\n```\n \u003ccom.github.florent37.shapeofview.shapes.CutCornerView\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        \n        android:elevation=\"3dp\"\n        \n        app:shape_cutCorner_bottomLeftSize=\"12dp\"\n        app:shape_cutCorner_bottomRightSize=\"12dp\"\n        app:shape_cutCorner_topLeftSize=\"12dp\"\n        app:shape_cutCorner_topRightSize=\"12dp\"\u003e\n\n        \u003candroid.support.constraint.ConstraintLayout\n            android:id=\"@+id/addToCart\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:background=\"@android:color/white\"\n            android:foreground=\"?attr/selectableItemBackground\"\u003e\n            \n            \u003cImageView ... /\u003e\n            \n            \u003cTextView ... /\u003e\n```\n\n# Sheets\n\n[![sheets](https://raw.githubusercontent.com/florent37/Shrine-MaterialDesign2/master/medias/sheets.png)](https://github.com/florent37/Shrine-MaterialDesign2)\n\n```\n\u003ccom.github.florent37.shapeofview.shapes.CutCornerView\n    android:id=\"@+id/middleSheet\"\n    android:layout_width=\"0dp\"\n    android:layout_height=\"0dp\"\n    android:layout_marginTop=\"16dp\"\n    android:elevation=\"4dp\"\n    app:layout_constraintBottom_toBottomOf=\"parent\"\n    app:layout_constraintEnd_toEndOf=\"parent\"\n    app:layout_constraintStart_toStartOf=\"parent\"\n    app:layout_constraintTop_toBottomOf=\"@+id/menu\"\n    app:shape_cutCorner_topLeftSize=\"42dp\"\n    tools:showIn=\"@layout/activity_main\"\u003e\n\n    \u003candroid.support.constraint.ConstraintLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"\n        android:background=\"@android:color/white\"\u003e\n\n```\n\nFiches Plateau Moto : [https://www.fiches-plateau-moto.fr/](https://www.fiches-plateau-moto.fr/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorent37%2Fshrine-materialdesign2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorent37%2Fshrine-materialdesign2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorent37%2Fshrine-materialdesign2/lists"}