设置操作栏/选项卡中文本的格式
我正在使用 Action Bar Sherlock 提供的“Styled”示例。
我在原来的三个选项卡中添加了几个选项卡并更改了它们的名称。但现在看起来很糟糕,因为选项卡标题太大而无法显示,所以所有内容都在狭窄的空间中滚动。是否可以减小文本大小?
I'm playing around with the "Styled" Sample provided by Action Bar Sherlock.
I added a couple tabs to the original three tabs and changed their names. But now it looks awful because the tab titles are too big to be displayed so everything is scrolling in a narrow space. Is it possible to decrease the text size?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需要覆盖默认的选项卡文本样式:
并记住在主题中引用它两次:
You just need to override the default tab text style:
And remember to reference it twice in your theme: