Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mthli committed Jan 1, 2016
1 parent d2a77e4 commit 5aa6dc0
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,6 @@ For example, we can build a card style background for RecyclerView:

And here has a [demo apk]( "SliceDemo.1.0.apk"), and it's [source code]( "SliceDemo.1.0.apk's source code"), very easy to understand~

# Gradle

At your top-level `build.gradle` file:

repositories {
// ...
maven { url 'https://jitpack.io' }
}

And then at your project `build.gradle` file:

dependencies {
compile 'com.github.mthli:Slice:v1.0'
}

Done!

## API

- `setRadius(float radiusDp)`
Expand All @@ -55,6 +38,23 @@ Done!
- `showRightEdgeShadow(boolean show)` only work for pre API 21.

- `showBottomEdgeShadow(boolean show)` only work for pre API 21.

## Gradle

At your top-level `build.gradle` file:

repositories {
// ...
maven { url 'https://jitpack.io' }
}

And then at your project `build.gradle` file:

dependencies {
compile 'com.github.mthli:Slice:v1.0'
}

Done!

## License

Expand Down

0 comments on commit 5aa6dc0

Please sign in to comment.