简体   繁体   English

Android:Sherlock ActionBar

[英]Android: Sherlock ActionBar

I have faced with one small cosmetic problem when use ActionBar + Tabs. 使用ActionBar + Tabs时,我遇到了一个小问题。 Thing is that when you are in portrait mode you see actionbar(logo + 3 menu buttons where two first of them have showAction equal Always beside last one which has ifRoom) separate from tabs(3 tabs). 问题是,当您处于纵向模式时,您会看到动作栏(徽标+ 3个菜单按钮,其中两个按钮中的第一个按钮具有showAction等于始终总是与最后一个具有ifRoom的按钮相邻)与选项卡(三个选项卡)分开。 When you rotate it in landscape mode you see all in one action bar - logo + tabs(but tabs become as List but I need that they will be as usual) + 3 menu buttons. 在横向模式下旋转时,您会在一个操作栏中看到所有内容-徽标+标签(但标签变为“列表”,但我需要它们像往常一样)+ 3个菜单按钮。 There is possible to do that if tabs go to action bar they will display as usual removing the last one menu button( like this ) from action bar to bottom common menu section or replacing whole menu style as List? 是否有可能这样做,如果选项卡转到操作栏,它们将像往常一样显示,将操作栏中的最后一个菜单按钮( 像这样 )从操作栏中移到底部的通用菜单部分,或将整个菜单样式替换为列表?

Use go on this link and download for project and run and check, 使用转到此链接并下载项目,然后运行并检查,

https://github.com/JakeWharton/ActionBarSherlock/downloads https://github.com/JakeWharton/ActionBarSherlock/downloads

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM