如何在android studio中创建这样的导航菜单?

时间:2018-07-14 05:14:07

标签: android android-studio menu navigation-drawer

Dcoder app screenshot in playstore

如何在android studio中为我的应用创建这样的导航菜单。

2 个答案:

答案 0 :(得分:1)

创建导航抽屉(带有菜单项),您可以在此处访问完整代码 https://developer.android.com/training/implementing-navigation/nav-drawer

答案 1 :(得分:1)

从头开始实现导航栏将有些困难。相反,我建议为此使用一个库。

这里是一个提供所需UI的库,请阅读此自述文件。它被称为Duo-Navigation-drawer

https://github.com/PSD-Company/duo-navigation-drawer/blob/master/README.md

此自述文件包含在您的应用上实施该文件的所有必要步骤。 读一读。

虽然还有许多其他库。

这是导航栏的屏幕截图。

Click here to view