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 noDrawerLayout
thus it is not possible. Modifying theMaterialDrawer
's code sounds like a huge effort as the methods of and functions of theDrawerLayout
are used in many different places.My suggestion would be to use the
View
theMaterialDrawer
generates. Have a look at theEmbeddedDrawerActivity
which actually does exactly this. It creates theMaterialDrawer
and then uses theView
of it and adds it to the root.