Skip to content

Commit 9d7d1bf

Browse files
authored
Updated ReadMe for new version
1 parent 96b313a commit 9d7d1bf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A swipe button for Android with a circular progress bar for async operations
77
```
88
dependencies {
99
...
10-
compile 'in.shadowfax:proswipebutton:1.0.1'
10+
compile 'in.shadowfax:proswipebutton:1.0.2'
1111
}
1212
```
1313

@@ -66,6 +66,12 @@ You can customize the button via XML or programatically.
6666
app:text_color="@android:color/white"
6767
app:text_size="12sp" />
6868
```
69+
New: set distance the user must swipe to activate the button.
70+
71+
```JAVA
72+
proswipebutton.setSwipeDistance(0.6f);
73+
```
74+
6975
Feel free to raise feature requests via the issue tracker for more customizations or just send in a PR :)
7076

7177
# Sample

0 commit comments

Comments
 (0)