by

I finally managed to find time to update my Alloy Drawer Widget with support for the beautiful native DrawerLayout for Android. You can now easily switch from NappDrawer to DrawerLayout on Android.

screenshot.

The NappDrawer module and DrawerLayout have almost identical API’s and of course the widgets provides cross compatibility methods and properties so you can use both API’s with either module. The biggest difference between the two modules is that DrawerLayout has to be wrapped in a Window. The widget takes care of this for you as well.

It’s as simpel as setting a property (and adding the module itself of course):

drawerLayout: true

Get the updated module from GitHub or gitTio.