在 Android 中创建带有导航抽屉的汉堡菜单
我想在带有导航抽屉的 android 中创建一个汉堡包菜单.我已经开发了它,但根据要求菜单应该滑出基本片段而不是重叠.我想开发一些类似于 facebook 使用的汉堡包菜单的东西.
I want to create a hamburger menu in android with navigation drawer. I've already developed it but according to the requirements the menu should slide out the base fragment instead of overlapping. I want to develop something like the hamburger menu used by facebook.
- 这就是我的要求:
- 这就是我所完成的:
感谢任何帮助,谢谢.
Google 引入 Material Design 和 Navigation Drawer 的新指南:官方来源.
Google introduce Material Design with the new guidelines for Navigation Drawer : official source.
一些了不起的人制作了符合此准则的库:https://github.com/mikepenz/MaterialDrawer
Some amazing people made library matching this guidelines : https://github.com/mikepenz/MaterialDrawer
如果你想自己做:https://github.com/代码路径/android_guides/wiki/Fragment-Navigation-Drawer