Android的抽屉式导航栏上的标签 [英] Android Navigation Drawer over the tabs

查看:121
本文介绍了Android的抽屉式导航栏上的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在用的是新的导航抽屉可以从支持库。当使用以及标签的抽屉,是越来越显示的选项卡下方的抽屉菜单,如下图所示。我怎样才能确保抽屉菜单显示在标签。 (应该显示抽屉菜单如果没有标签)

I am using the new navigation drawer available from the support library. When using the drawer along with tabs, the drawer menu is getting displayed below the tabs as shown below. How can i make sure the drawer menu is shown on the tabs. (It should display the drawer menu as if there are no tabs)

抽屉无标签菜单

Drawer menu without tabs

与标签抽屉菜单

推荐答案

我得到了同样的问题,我从罗马Nurik(Android团队),得到的答案是,抽屉式导航不应该与操作栏的选项卡中。

I got the same issue and the answer I got from Roman Nurik (Android team) is that the Navigation Drawer should not be used with the Action Bar tabs.

的讨论可以在这里找到: <一href="https://plus.google.com/u/1/116515063230772720916/posts/8dWEkFcbTFX">https://plus.google.com/u/1/116515063230772720916/posts/8dWEkFcbTFX

The discussion can be found here: https://plus.google.com/u/1/116515063230772720916/posts/8dWEkFcbTFX

这篇关于Android的抽屉式导航栏上的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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