操作栏福尔摩斯作物导航标签文本 [英] Action bar Sherlock crops navigation tab text

查看:129
本文介绍了操作栏福尔摩斯作物导航标签文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的导航选项卡应用程序实现的福尔摩斯行动起来吧。我已经设置使用样式属性标签文本属性单行。我的问题是福尔摩斯行动起来吧作物标签text.for例如,而不是显示我的账户,它仅显示我的。如何显示整个标签的文本,操作栏滚动的。

I have implemented sherlock action bar in my application with navigation tabs. I have set the tab text properties to single line using styles attributes. My problem is sherlock action bar crops tab text.for example instead of showing "My Account" it shows only "My".How to show entire tab text , action bar is scrollable.

推荐答案

如果您已经使用这种方式那么它告诉你的全名像下面

if you have used this way then its show you full name like below

Tab tab1 = actionBar
                .newTab()
                .setText("Tab1 - this is detail of main screen")
                .setTabListener(
                        new TabListener<TabFragment>(this, "tab1",
                                TabFragment.class));
        actionBar.addTab(tab1);



这篇关于操作栏福尔摩斯作物导航标签文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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