Need help with Shrine-MaterialDesign2?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

florent37
212 Stars 35 Forks Apache License 2.0 8 Commits 0 Opened issues

Description

implementation of Material Design 2 Shrine project

Services available

!
?

Need anything else?

Contributors list

# 1,941
Dart
Flutter
toolbar
paralla...
2 commits

Shrine-MaterialDesign2

Trying to reproduce some elements of Material Design 2 Shrine project on Android

https://material.io/design/material-studies/shrine.html#about-shrine

shrine_video

About Shrine

The 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.

shrine_info_1

Overlapping sheets

The 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. shrine_info_2

Implementation

I used ShapeOfView to allow views to have a custom shape,

https://github.com/florent37/ShapeOfView

implementation 'com.github.florent37:shapeofview:1.0.7'

Here, to remove my view's corners, using

CutCornerView

shrine_info_2

Button

shape_button

 

    <android.support.constraint.constraintlayout android:id="@+id/addToCart" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/white" android:foreground="?attr/selectableItemBackground">

        <imageview ...></imageview>

        <textview ...></textview>

</android.support.constraint.constraintlayout></com.github.florent37.shapeofview.shapes.cutcornerview>

Sheets

sheets

<android.support.constraint.constraintlayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white">

</android.support.constraint.constraintlayout></com.github.florent37.shapeofview.shapes.cutcornerview>

Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.