File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 21
21
- [ VisibleCount] ( #visiblecount )
22
22
- [ ElevationEnabled] ( #elevationenabled )
23
23
- [ TranslationDiff] ( #translationdiff )
24
+ - [ ScaleDiff] ( #scalediff )
24
25
- [ Overlay] ( #overlay )
25
26
- [ SwipeEnabled] ( #swipeenabled )
26
27
- [ SwipeDirection] ( #swipedirection )
@@ -135,6 +136,24 @@ The unit of TranslationDiff is **dp**.
135
136
CardStackView #setTranslationDiff(12f );
136
137
```
137
138
139
+ ## ScaleDiff
140
+
141
+ The range of ScaleDiff is 0.0 - 1.0.
142
+
143
+ | Default | Value | Sample |
144
+ | :----: | :----: | :----: |
145
+ | ✅ | 0.02 | ![ ScaleDiff-2] ( https://github.com/yuyakaido/CardStackView/blob/master/images/scale-diff-2.png ) |
146
+ | | 0.1 | ![ ScaleDiff-10] ( https://github.com/yuyakaido/CardStackView/blob/master/images/scale-diff-10.png ) |
147
+
148
+ ``` xml
149
+ <com .yuyakaido.android.cardstackview.CardStackView
150
+ app : scaleDiff =" 0.02" />
151
+ ```
152
+
153
+ ``` java
154
+ CardStackView #setScaleDiff(0.02f );
155
+ ```
156
+
138
157
## Overlay
139
158
140
159
| Value | Sample |
You can’t perform that action at this time.
0 commit comments