mikepenz / MaterialDrawer

The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
https://mikepenz.dev
Apache License 2.0
11.67k stars 2.05k forks source link

Drawer into Bottom Navigation Bar #2626

Closed biancaarno8 closed 4 years ago

biancaarno8 commented 4 years ago

About this issue

Hello, as illustrated in the image that I published, I wanted to ask you if i can move the drawer in the bottom right into bottom navigation view. In the documentation and in the various issues it is not explained how to do it. Thanks for the attention.

Details

Checklist

Screenshot: example_navigation_bar_2

mikepenz commented 4 years ago

@biancaarno8 I see you are still using v6 of the drawer. Note that I only give partial support for that version as it is pretty old.

The drawer itself is a DrawerLayout if you provide a Toolbar to it, it will try to hook up a ActionBarDrawerToggle for the toolbar, if you drop this though then the showing and closing behavior is up to you.

So in that case you will build the drawer, and then open it via: https://github.com/mikepenz/MaterialDrawer/blob/v6.0.9/library/src/main/java/com/mikepenz/materialdrawer/Drawer.java#L132 (and respectively close with the counter part method)

biancaarno8 commented 4 years ago

Ok thank you very much for your reply. I will close this issue.