Skip to content

Commit 81f82be

Browse files
authored
Update README.md
1 parent a5d7fd3 commit 81f82be

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ CardStackView#setVisibleCount(4);
9292

9393
```xml
9494
<com.yuyakaido.android.cardstackview.CardStackView
95-
app:isElevationEnabled="true"
95+
app:elevationEnabled="true"
9696
or
97-
app:isElevationEnabled="false"/>
97+
app:elevationEnabled="false"/>
9898
```
9999

100100
```java
@@ -112,9 +112,9 @@ CardStackView#setElevationEnabled(false);
112112

113113
```xml
114114
<com.yuyakaido.android.cardstackview.CardStackView
115-
app:isSwipeEnabled="true"
115+
app:swipeEnabled="true"
116116
or
117-
app:isSwipeEnabled="false"/>
117+
app:swipeEnabled="false"/>
118118
```
119119

120120
```java
@@ -133,19 +133,19 @@ CardStackView#setSwipeEnabled(false);
133133

134134
```xml
135135
<com.yuyakaido.android.cardstackview.CardStackView
136-
app:enableSwipeDirections="freedom"
136+
app:swipeDirection="freedom"
137137
or
138-
app:enableSwipeDirections="horizontal"
138+
app:swipeDirection="horizontal"
139139
or
140-
app:enableSwipeDirections="vertical"/>
140+
app:swipeDirection="vertical"/>
141141
```
142142

143143
```java
144-
CardStackView#setEnableSwipeDirections(SwipeDirection.FREEDOM);
144+
CardStackView#setSwipeDirection(SwipeDirection.FREEDOM);
145145
or
146-
CardStackView#setEnableSwipeDirections(SwipeDirection.HORIZONTAL);
146+
CardStackView#setSwipeDirection(SwipeDirection.HORIZONTAL);
147147
or
148-
CardStackView#setEnableSwipeDirections(SwipeDirection.VERTICAL);
148+
CardStackView#setSwipeDirection(SwipeDirection.VERTICAL);
149149
```
150150

151151
## SwipeThreshold
@@ -168,7 +168,7 @@ CardStackView#setSwipeThreshold(0.75f);
168168

169169
# Installation
170170

171-
LatestVersion is ![Download](https://api.bintray.com/packages/yuyakaido/maven/CardStackView/images/download.svg)
171+
LatestVersion is ![LatestVersion](https://api.bintray.com/packages/yuyakaido/maven/CardStackView/images/download.svg)
172172

173173
```groovy
174174
dependencies {

0 commit comments

Comments
 (0)