使 Honeycomb ActionBar 与 ICS 兼容
我有一个现有的应用程序,它在操作栏中有几个选项卡和按钮。我想将其移植到 ICS,我关心的是这些项目将如何堆叠在 ICS 设备上?
所有的 showAsAction="ifRoom|withText"
都会隐藏到菜单中吗?或者它会像 ICS Gmail 应用程序那样在底部创建一个新的操作栏吗?
I've an existing app which has couple of tabs, buttons in the actionbar. I want to port it to ICS, My concern is how will the items stack up on the ICS device?
Will all of the showAsAction="ifRoom|withText"
be hidden into menu? or will it make a new actionbar at the bottom like ICS gmail app does it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
操作将堆叠在顶部,如果没有足够的空间,操作将被隐藏。
如果您拆分操作栏,那么它们将出现在底部
您必须配置应用程序标签才能将其配置为拆分
Actions will stack up at the top, and be hidden if there is not enough space.
If you Split the Action Bar then they will come at the botton
You have to configure the Application tag to configure it to be split