问题描述
您好我想创建一个导航抽屉类似于Gmail应用程序抽屉式导航。我按照开发商的网站,但它只是指定有关基本实现。但我需要根据我的规格来定制导航。
Hi I'm trying to create a navigation drawer similar to gmail app navigation drawer. I follow the developer site but it only specify about basic implementation. But I need to customize the navigation according to my specifications.
- 我需要添加一个头列表项分类的抽屉
- 我需要一个单选按钮,选择我的一些选项
我怎样才能做到这一点?
How can I do this?
推荐答案
本教程 Android的自定义导航抽屉一>中包含的基本和自定义项目。后者显示了如何设置一个导航抽屉如截图所示:
The tutorial Android Custom Navigation Drawer contains a basic and a custom project. The latter shows how to setup a Navigation Drawer as shown in the screenshot:
的source $ C $ 是可供下载的项目℃。
The source code of the projects is available for download.
的也是导航抽屉 - 现场-O 项目..
The source code of the project is available on GitHub.
借助 MaterialDrawer库旨在提供最简单的可能的实现导航的抽屉,为您的应用程序。它提供的开箱定制的大量并且还包括一个易于使用的标头,可以用作AccountSwitcher
The MaterialDrawer library aims to provide the easiest possible implementation of a navigation drawer for your application. It provides a great amount of out of the box customizations and also includes an easy to use header which can be used as AccountSwitcher.
这篇关于如何创建自定义导航抽屉的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!