Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
balysv committed Feb 16, 2015
1 parent c91ed82 commit 4726256
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Change Log
==========

Version 1.0.1 (2015-02-16)
----------------------------

- Prefix all `MaterialRippleLayout` attributes with `mrl_` to remove possible ambiguity when using with other libraries.


Version 1.0.0 (2015-02-01)
----------------------------

Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Including in your project
-------------------------

```groovy
compile 'com.balysv:material-ripple:1.0.0'
compile 'com.balysv:material-ripple:1.0.1'
```

Check for latest version number on the widget below or visit [Releases](https://github.com/balysv/material-ripple/releases)
Expand Down Expand Up @@ -50,18 +50,18 @@ If using in an `AdapterView` you must set `rippleInAdapter` to `true`
Configure using xml attributes or setters in code:

```java
app:rippleOverlay="true" // if true, ripple is drawn in foreground; false - background
app:rippleColor="#ff0000" // color of ripple
app:rippleAlpha="0.1" // alpha of ripple
app:rippleDimension="10dp" // radius of hover and starting ripple
app:rippleHover="true" // if true, a hover effect is drawn when view is touched
app:rippleRoundedCorners="10dp" // radius of corners of ripples. Note: it uses software rendering pipeline for API 17 and below
app:rippleInAdapter="true" // if true, MaterialRippleLayout will optimize for use in AdapterViews
app:rippleDuration="350" // duration of ripple animation
app:rippleFadeDuration="75" // duration of fade out effect on ripple
app:rippleDelayClick="true" // if true, delays calls to OnClickListeners until ripple effect ends
app:rippleBackground="#FFFFFF" // background under ripple drawable; used with rippleOverlay="false"
app:ripplePersistent="true" // if true, ripple background color persists after animation, until setRadius(0) is called
app:mrl_rippleOverlay="true" // if true, ripple is drawn in foreground; false - background
app:mrl_rippleColor="#ff0000" // color of ripple
app:mrl_rippleAlpha="0.1" // alpha of ripple
app:mrl_rippleDimension="10dp" // radius of hover and starting ripple
app:mrl_rippleHover="true" // if true, a hover effect is drawn when view is touched
app:mrl_rippleRoundedCorners="10dp" // radius of corners of ripples. Note: it uses software rendering pipeline for API 17 and below
app:mrl_rippleInAdapter="true" // if true, MaterialRippleLayout will optimize for use in AdapterViews
app:mrl_rippleDuration="350" // duration of ripple animation
app:mrl_rippleFadeDuration="75" // duration of fade out effect on ripple
app:mrl_rippleDelayClick="true" // if true, delays calls to OnClickListeners until ripple effect ends
app:mrl_rippleBackground="#FFFFFF" // background under ripple drawable; used with rippleOverlay="false"
app:mrl_ripplePersistent="true" // if true, ripple background color persists after animation, until setRadius(0) is called
```

Set an `OnClickListener` to `MaterialRippleLayout`:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.0.0
VERSION_NAME=1.0.1
VERSION_CODE=1
GROUP=com.balysv

Expand Down

0 comments on commit 4726256

Please sign in to comment.