Skip to content

Commit

Permalink
release v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mthli committed Jan 2, 2016
1 parent a81e5e0 commit c8785e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@ For example, we can build a card style background for RecyclerView:

![example.png](./example.png "example.png")

And here has a [demo apk](https://github.com/mthli/Slice/releases/download/v1.0/SliceDemo.1.0.apk "SliceDemo.1.0.apk"), and it's [source code](https://github.com/mthli/Slice/tree/master/app "SliceDemo.1.0.apk's source code"), very easy to understand~
Here has a [demo apk](https://github.com/mthli/Slice/releases/download/v1.1/SliceDemo.1.1.apk "SliceDemo.1.1.apk"), and it's [source code](https://github.com/mthli/Slice/tree/master/app "SliceDemo.1.1.apk's source code"), very easy to understand~

## API

- `setRadius(float radiusDp)`
- `setColor(int color)`

- `setElevation(float elevationDp)`

- `setColor(int color)`
- `setRadius(float radiusDp)`

- `setRipple(int mask)` only work for API 21+.

- `showLeftTopRect(boolean show)`

Expand Down Expand Up @@ -53,7 +55,7 @@ At your top-level `build.gradle` file:
And then at your project `build.gradle` file:

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

Done!
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ android {
applicationId "io.github.mthli.slicedemo"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
versionCode 2
versionName "1.1"
}

buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions slice/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ android {
defaultConfig {
minSdkVersion 7
targetSdkVersion 23
versionCode 1
versionName "1.0"
versionCode 2
versionName "1.1"
}

buildTypes {
Expand Down

0 comments on commit c8785e8

Please sign in to comment.