动作条和ActionBar.Tab和导航抽屉的android [英] ActionBar and ActionBar.Tab and Navigation Drawer android

查看:194
本文介绍了动作条和ActionBar.Tab和导航抽屉的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司采用与Android的支持-V7-appcompat帮助操作栏,并使用导航抽屉里了吧。

I am using action bar with help of android-support-v7-appcompat and also using Navigation drawer over it.

在我的片段之一,如果我用ActionBar.Tabs然后将标签重叠导航抽屉,抽屉得到动作条选项卡下面。

In one of my fragment if I use ActionBar.Tabs then the tabs overlaps the navigation drawer and the drawer gets below the ActionBar tabs.

我怎样才能使谷歌像操作栏播放应用程序或谷歌的电影应用。 该卡还应该像背后片段。我怎么可以做同样的与Android支持-V7-appcompat利布斯

How can I make the action bar like in google play application or Google movie application. The tabs should also go behind like the fragment. How can I do the same with android-support-v7-appcompat Libs

推荐答案

有关标签栏尝试ViewPagerIndicator http://viewpagerindicator.com/ 这有一个很好的实现了标签栏。

For Tab bar try ViewPagerIndicator http://viewpagerindicator.com/ This has a very good implementation for tab bar.

当我们使用默认的标签栏与动作条,在横向模式下将被合并为一行。因此,它更好地使用上面的库。

When we use default tab bar with actionbar, in landscape mode it will be merged into single row. So its better to use the above library.

这篇关于动作条和ActionBar.Tab和导航抽屉的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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