Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PierfrancescoSoffritti authored Jun 30, 2016
1 parent 6b4d006 commit 3a51230
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SlidingDrawer

[![](https://jitpack.io/v/PierfrancescoSoffritti/WebBasedOAuth.svg)](https://jitpack.io/#PierfrancescoSoffritti/SlidingDrawer)

A custom View implementing the <a href="https://material.google.com/components/bottom-sheets.html?authuser=0">bottom sheet pattern.</a><br/>
This ViewGroup can have only 2 children. The 1st one is the <b>non slidable view</b> ; the 2nd is the <b>slidable view</b>, which can slide over the <b>non slidable view</b>.<br/><br/>
The substantial difference from all other implementations is that in this case is easy to position the <b>collapsed slidable view</b> relative to the <b>non slidable view</b>.<br/>
Expand All @@ -9,6 +11,23 @@ Here instead the <b>collapsed slidable view</b> is placed exactly below the <b>n
<img height="450" src="https://github.com/PierfrancescoSoffritti/SlidingDrawer/blob/master/pics/SlidingView.gif" />
<br/>

## Download
Add this to you project-level `build.gradle`:
```
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
```
Add this to your module-level `build.gradle`:
```
dependencies {
compile 'com.github.PierfrancescoSoffritti:SlidingDrawer:v0.1'
}
```

## Usage

```
Expand Down

0 comments on commit 3a51230

Please sign in to comment.