动作条的标签不补的TabBar [英] Actionbar tabs don't fill the tabbar

查看:101
本文介绍了动作条的标签不补的TabBar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试,我终于找到了一个方法的动作条的TabBar从动作条manualy分开小时。 <一href="http://stackoverflow.com/questions/13566493/actionbar-convert-tabs-to-list-navigation-if-there-is-no-room">actionbar转换的标签,列出的导航,如果没有足够的空间 但现在有留下一个问题。该标签不补的TabBar。

After hours of trying I finally found a method to separate the actionbar tabbar from the actionbar manualy. actionbar convert tabs to list navigation if there is no room But now there is one problem left. The tabs don't fill the tabbar.

修改 该选项卡添加到动作条是:     ActionBar.Tab relatieTab = actionBar.newTab()的setText(不相关的亲戚)。     actionBar.addTab(relatieTab);

EDIT The tabs are added to the actionbar by: ActionBar.Tab relatieTab = actionBar.newTab().setText("Relaties"); actionBar.addTab(relatieTab);

推荐答案

尝试切换父。如果不行尝试访问这个帖子:<一href="http://stackoverflow.com/questions/14979327/stacked-actionbar-tab-bar-not-filling-parent">Stacked动作条的标签栏不填父

Try to switch the parent. If that doesn't work try visiting this post: Stacked ActionBar tab bar not filling parent

祝你好运:)

这篇关于动作条的标签不补的TabBar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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