如何创建自定义导航抽屉的android [英] How to create a custom navigation drawer in android

查看:150
本文介绍了如何创建自定义导航抽屉的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想创建一个导航抽屉类似于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.

  1. 我需要添加一个头列表项分类的抽屉
  2. 我需要一个单选按钮,选择我的一些选项

我怎样才能做到这一点?

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:

的<一个href="http://downloads.tutecentral.com/wp-content/uploads/2014/02/NavigationDrawerExample.zip">source $ C $ 是可供下载的项目℃。

The source code of the projects is available for download.

的也是导航抽屉 - 现场-O 项目..

该项目的源$ C ​​$ c是可以在GitHub上。

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆