Skip to content

Commit 6fc993e

Browse files
committed
Update master
1 parent de94ade commit 6fc993e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@ Usage
3333
If you decide to use SlidingMenu as a view, you can define it in your xml layouts like this:
3434
```xml
3535
<com.slidingmenu.lib.SlidingMenu
36+
xmlns:sliding="http://schemas.android.com/apk/res-auto"
3637
android:id="@+id/slidingmenulayout"
3738
android:layout_width="fill_parent"
3839
android:layout_height="fill_parent"
39-
viewAbove="@layout/YOUR_ABOVE_VIEW"
40-
viewBehind="@layout/YOUR_BEHIND_BEHIND"
41-
behindOffset="@dimen/YOUR_OFFSET"
42-
behindScrollScale="@dimen/YOUR_SCALE" />
40+
sliding:viewAbove="@layout/YOUR_ABOVE_VIEW"
41+
sliding:viewBehind="@layout/YOUR_BEHIND_BEHIND"
42+
sliding:behindOffset="@dimen/YOUR_OFFSET"
43+
sliding:behindScrollScale="@dimen/YOUR_SCALE" />
4344
```
4445
* `viewAbove` - a reference to the layout that you want to use as the above view of the SlidingMenu
4546
* `viewBehind` - a reference to the layout that you want to use as the behind view of the SlidingMenu

0 commit comments

Comments
 (0)