Skip to content

Commit 225cd69

Browse files
committed
Update master
1 parent 1701264 commit 225cd69

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,18 @@ If you decide to use SlidingMenu as a view, you can define it in your xml layout
3939
android:layout_height="fill_parent"
4040
sliding:viewAbove="@layout/YOUR_ABOVE_VIEW"
4141
sliding:viewBehind="@layout/YOUR_BEHIND_BEHIND"
42+
sliding:touchModeAbove="margin|fullscreen"
43+
sliding:touchModeBehind="margin|fullscreen"
4244
sliding:behindOffset="@dimen/YOUR_OFFSET"
43-
sliding:behindScrollScale="@dimen/YOUR_SCALE" />
45+
sliding:behindScrollScale="@dimen/YOUR_SCALE"/>
4446
```
4547
* `viewAbove` - a reference to the layout that you want to use as the above view of the SlidingMenu
4648
* `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.
4754
* `behindOffset` - a dimension representing the number of pixels that you want the above view to show when the
4855
behind view is showing. Default is 0.
4956
* `behindScrollScale` - a float representing the relationship between the above view scrolling and the behind

0 commit comments

Comments
 (0)