Before we begin, it would be better to take a look at those two libraries
MaterialDrawer - https://github.com/mikepenz/MaterialDrawer
FlowingDrawer - https://github.com/mxn21/FlowingDrawer
I'm currently using MaterialDrawer. Witch allows me super fast drawer implementation, maintaining, ect..
for that reason i cant give up this library, still i'd love to use FlowingDrawer which provides super cool drawer effect.
i came up with 2 possible options.
- export View from MaterialDrawer, insert this into FlowingDrawer.
- editing the MaterialDrawer's code to be implemented by FlowingDrawer.
i'm not even sure if both suggestions would work.
tell me your thoughts! better if solution.
The MaterialDrawer requires a
DrawerLayout. The FlowingDrawer implements noDrawerLayoutthus it is not possible. Modifying theMaterialDrawer's code sounds like a huge effort as the methods of and functions of theDrawerLayoutare used in many different places.My suggestion would be to use the
ViewtheMaterialDrawergenerates. Have a look at theEmbeddedDrawerActivitywhich actually does exactly this. It creates theMaterialDrawerand then uses theViewof it and adds it to the root.