viezel / NappDrawer

A side drawer navigation container view controller for Appcelerator Titanium.
MIT License
247 stars 128 forks source link

[Android] set drawer width with animation #137

Open mpociot opened 9 years ago

mpociot commented 9 years ago

On iOS it is now possible to set the drawer width with an animation

mainWindow.setLeftDrawerWidth({
    width: 160,
    animated: true
});

On Android, this isn't possible. When you want to change the left drawer width on the fly, you need to toggle the drawer to apply the changes. I know, this has nothing to do with your wrapper module, but it would be nice if the drawer width could be manipulated without the need of a toggle.

I'm also looking into this, but maybe someone's smarter than me and knows of an easy way to do this :)

mpociot commented 9 years ago

Just saw that this issue is related to #111 I fixed this in my (heavily) modified fork. I will send you a PR once it's cleaned up :+1:

321hendrik commented 9 years ago

@mpociot Would be nice if you could notify me too. it's been some time since i created #111 and so far no one has responded.