蜂窝发射器标题被截断
我正在开发我的第一个蜂窝应用程序。应用程序的名称相当长,启动器标题被截断/褪色。我无法确定是否可以将其分成多行,以便整个标题可见。有人知道吗?
谢谢。
I am working on my first honeycomb application. The name of the app is fairly long and the launcher title is getting truncated/faded. I'm having trouble finding out whether it's possible to break this into multiple lines so that the entire title is visible. Anyone know?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
AFAIK 您无法控制启动器(即启动器)如何显示应用程序标签。
因此,您要么必须缩短用作启动器标签的名称,要么接受标签的淡出/截断。
您可以尝试在字符串中需要换行的位置添加
\n
,但我怀疑这会产生任何效果。AFAIK you cannot control how the application label is displayed by the Launcher, that is up the Launcher.
So you'll either have to shorten the name you use as the label for the Launcher, or accept the fading/truncating of your label.
You could try adding a
\n
at the point where you want a line-break in your String, but I doubt this would have any effect.不幸的是,没有办法防止操作栏标题被截断。解决方案是缩短操作栏标题。
Unfortunately there is not a way to prevent truncation of the action bar title. The solution is to make the action bar title short.