File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ If you decide to use SlidingMenu as a view, you can define it in your xml layout
42
42
sliding : touchModeAbove =" margin|fullscreen"
43
43
sliding : touchModeBehind =" margin|fullscreen"
44
44
sliding : behindOffset =" @dimen/YOUR_OFFSET"
45
- sliding : behindScrollScale =" @dimen/YOUR_SCALE" />
45
+ sliding : behindScrollScale =" @dimen/YOUR_SCALE"
46
+ sliding : shadowDrawable =" @drawable/YOUR_SHADOW"
47
+ sliding : shadowWidth =" @dimen/YOUR_SHADOW_WIDTH" />
46
48
```
47
49
* ` viewAbove ` - a reference to the layout that you want to use as the above view of the SlidingMenu
48
50
* ` viewBehind ` - a reference to the layout that you want to use as the behind view of the SlidingMenu
@@ -57,6 +59,9 @@ behind view is showing. Default is 0.
57
59
behind view scrolling. If set to 0.5f, the behind view will scroll 1px for every 2px that the above view scrolls.
58
60
If set to 1.0f, the behind view will scroll 1px for every 1px that the above view scrolls. And if set to 0.0f, the
59
61
behind view will never scroll; it will be static. This one is fun to play around with. Default is 0.
62
+ * ` shadowDrawable ` - a reference to a drawable to be used as a drop shadow from the above view onto the below view.
63
+ Default is no shadow for now.
64
+ * ` shadowWidth ` - a dimension representing the width of the shadow drawable. Default is 0.
60
65
61
66
Developed By
62
67
------------
You can’t perform that action at this time.
0 commit comments