File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 19
19
- [ StackFrom] ( #stackfrom )
20
20
- [ VisibleCount] ( #visiblecount )
21
21
- [ ElevationEnabled] ( #elevationenabled )
22
+ - [ Overlay] ( #overlay )
22
23
- [ SwipeEnabled] ( #swipeenabled )
23
24
- [ SwipeDirection] ( #swipedirection )
24
25
- [ SwipeThreshold] ( #swipethreshold )
103
104
CardStackView #setElevationEnabled(false );
104
105
```
105
106
107
+ ## Overlay
108
+
109
+ | Value | Sample |
110
+ | :----: | :----: |
111
+ | Left | ![ Overlay-Left] ( https://github.com/yuyakaido/CardStackView/blob/v1/images/overlay-left.png ) |
112
+ | Right | ![ Overlay-Right] ( https://github.com/yuyakaido/CardStackView/blob/v1/images/overlay-right.png ) |
113
+
114
+ ``` xml
115
+ <com .yuyakaido.android.cardstackview.CardStackView
116
+ app : leftOverlay =" @layout/overlay_left"
117
+ or
118
+ app : rightOverlay =" @layout/overlay_right" />
119
+ ```
120
+
121
+ ``` java
122
+ CardStackView #setLeftOverlay(R . layout. overlay_left);
123
+ or
124
+ CardStackView #setRightOverlay(R . layout. overlay_right);
125
+ ```
126
+
106
127
## SwipeEnabled
107
128
108
129
| Default | Value | Sample |
You can’t perform that action at this time.
0 commit comments