From 56e0df0b22719d952873d4d3ec2db329db9ea4d3 Mon Sep 17 00:00:00 2001 From: Semper-Viventem Date: Fri, 20 Jul 2018 22:00:02 +0300 Subject: [PATCH] Update REDME --- README.md | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b2aa38f..a59ea70 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Backdrop -[ ![Download](https://api.bintray.com/packages/semper-viventem/maven/backdrop/images/download.svg) ](https://bintray.com/semper-viventem/maven/backdrop/_latestVersion) +[ ![Download](https://api.bintray.com/packages/semper-viventem/maven/backdrop/images/download.svg) ](https://bintray.com/semper-viventem/maven/backdrop/_latestVersion)[![](https://jitpack.io/v/Semper-Viventem/BackdropView.svg)](https://jitpack.io/#Semper-Viventem/BackdropView) + ## What is it? This library makes it easy to implement a [Backdrop](https://material.io/design/components/backdrop.html) pattern with a CoordinatorLayout @@ -9,14 +10,30 @@ This library makes it easy to implement a [Backdrop](https://material.io/design/ -## How to use it? -You need to add a layout Toolbar, back container and foreground container +## Download -**Gradle** +**JCenter (Recommended):** ```groovy -implementation 'ru.semper-viventem.backdrop:backdrop:0.1.0' +dependencies { + implementation 'ru.semper-viventem.backdrop:backdrop:0.1.0' +} ``` +**JitPack:** +```groovy +epositories { + ... + maven { url 'https://jitpack.io' } +} + +dependencies { + implementation 'com.github.Semper-Viventem:BackdropView:v0.1.0' +} +``` + +## How to use it? +You need to add a layout Toolbar, back container and foreground container + Add BackdropBehavior to the Foreground View Container: **XML**