File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,14 @@ Usage
33
33
If you decide to use SlidingMenu as a view, you can define it in your xml layouts like this:
34
34
``` xml
35
35
<com .slidingmenu.lib.SlidingMenu
36
+ xmlns : sliding =" http://schemas.android.com/apk/res-auto"
36
37
android : id =" @+id/slidingmenulayout"
37
38
android : layout_width =" fill_parent"
38
39
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" />
43
44
```
44
45
* ` viewAbove ` - a reference to the layout that you want to use as the above view of the SlidingMenu
45
46
* ` viewBehind ` - a reference to the layout that you want to use as the behind view of the SlidingMenu
You can’t perform that action at this time.
0 commit comments