如何均匀地涂在动作条宽度分发标签? [英] How to distribute TABs on actionbar width evenly?

查看:121
本文介绍了如何均匀地涂在动作条宽度分发标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题和建议工作人员使用自定义动作条上使用TABS最佳。创建三个标签,但它们对齐到左和足够​​的空间可以伸展。

Raised this question and working on the suggestion to use TABS with custom ActionBar on TOP. Created three TABS but they are aligned to left and plenty of room is available to stretch.

我怎么能均匀分布卡舌宽度是多少?我使用的ABS。

How can I distribute TABS evenly on width? I am using ABS.

推荐答案

您可以找到在杰克沃顿商学院的ABS GitHub的全部功能的演示的。
该标签的例子在这里,应该照顾一切,在几行。

You can find demo's of all functionality of ABS in Jake Wharton's github. The tab example is here, and should take care of everything in a couple of lines.

<一个href=\"https://github.com/JakeWharton/ActionBarSherlock/blob/master/samples/demos/src/com/actionbarsherlock/sample/demos/TabNavigation.java\" rel=\"nofollow\">https://github.com/JakeWharton/ActionBarSherlock/blob/master/samples/demos/src/com/actionbarsherlock/sample/demos/TabNavigation.java

这篇关于如何均匀地涂在动作条宽度分发标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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