Shrine-MaterialDesign2

by florent37

implementation of Material Design 2 Shrine project

214 Stars 32 Forks Last release: Not found Apache License 2.0 8 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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.