File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,18 @@ If you decide to use SlidingMenu as a view, you can define it in your xml layout
39
39
android : layout_height =" fill_parent"
40
40
sliding : viewAbove =" @layout/YOUR_ABOVE_VIEW"
41
41
sliding : viewBehind =" @layout/YOUR_BEHIND_BEHIND"
42
+ sliding : touchModeAbove =" margin|fullscreen"
43
+ sliding : touchModeBehind =" margin|fullscreen"
42
44
sliding : behindOffset =" @dimen/YOUR_OFFSET"
43
- sliding : behindScrollScale =" @dimen/YOUR_SCALE" />
45
+ sliding : behindScrollScale =" @dimen/YOUR_SCALE" />
44
46
```
45
47
* ` viewAbove ` - a reference to the layout that you want to use as the above view of the SlidingMenu
46
48
* ` viewBehind ` - a reference to the layout that you want to use as the behind view of the SlidingMenu
49
+ * ` touchModeAbove ` - an enum that designates what part of the screen is touchable when the above view is
50
+ showing. Margin means only the left margin. Fullscreen means the entire screen. Default is margin.
51
+ * ` touchModeBehind ` - an enum that designates what part of the screen is touchable when the behind view
52
+ is showing. Margin means only what is showing of the above view. Fullscreen means the entire screen.
53
+ Default is margin.
47
54
* ` behindOffset ` - a dimension representing the number of pixels that you want the above view to show when the
48
55
behind view is showing. Default is 0.
49
56
* ` behindScrollScale ` - a float representing the relationship between the above view scrolling and the behind
You can’t perform that action at this time.
0 commit comments