Skip to content

Commit 9d04ccd

Browse files
committed
Minor fixes in README
1 parent 93521aa commit 9d04ccd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ allprojects {
4949
And add the dependency in your module's `build.gradle`:
5050
```groovy
5151
dependencies {
52-
compile 'com.github.Tunous:SwipeActionView:VERSION_HERE'
52+
implementation 'com.github.Tunous:SwipeActionView:VERSION_HERE'
5353
}
5454
```
5555
Replace `VERISION_HERE` with the version you want to use. *See the tags on the top of this file to see the latest available version.*
@@ -83,6 +83,7 @@ Below example will create `TextView` that can be swiped both to the left or righ
8383
android:background="@android:color/background_light"
8484
android:padding="16dp"
8585
android:text="Swipe me"/>
86+
8687
</me.thanel.swipeactionview.SwipeActionView>
8788
```
8889

@@ -161,6 +162,7 @@ This behavior allows you to add single background and by specifying its `layout_
161162
android:background="@android:color/background_light"
162163
android:padding="16dp"
163164
android:text="Swipe me"/>
165+
164166
</me.thanel.swipeactionview.SwipeActionView>
165167
```
166168

@@ -262,7 +264,7 @@ Sets color for ripple displayed when users swipe right.
262264
#### <a id="attr-tools-previewBackground">`app:sav_tools_previewBackground="swipeLeft|swipeRight"`</a>
263265
Shows background view for swipe left or right gesture.
264266

265-
#### <a id="attr-tools-previewRipple">`app:sav_tools_previewRipple="swipeLeft"`</a>
267+
#### <a id="attr-tools-previewRipple">`app:sav_tools_previewRipple="swipeLeft|swipeRight"`</a>
266268
Shows ripple for swipe left or right gesture.
267269

268270
# <a id="animations">Animations</a>

0 commit comments

Comments
 (0)