SimonVT / android-menudrawer

*DEPRECATED* A slide-out menu implementation, which allows users to navigate between views in your app.
http://simonvt.github.com/android-menudrawer/
Apache License 2.0
2.59k stars 1.11k forks source link

Change size of drawer (width) #197

Closed evanrich closed 11 years ago

evanrich commented 11 years ago

Is there any way to change the width of the drawer? I've tried looking in the menu.java and left.java files, but nothing seems to shrink the width. The listview that gets open is around 285dp wide, I only need it to slide out to around 150dp. Has anyone figured this out? I tried manually setting the width of the view i'm inflating, but this doesn't have any bearing.

Thanks!

ffmmll commented 11 years ago

you can use mMenu.setMenuSize(xx); to resize the menu :)