Last tab in action bar is cropped, goes off screen

谁都会走 提交于 2019-12-10 21:38:21

问题



I'm making an Android app using tabs for navigation. I have a problem with the rendering of the last tab in the action bar; it goes off screen and is cropped (this happens as soon as the number of tabs is too big too fit in the screeen width as far as I can tell).

I'm using the ActionBar.NAVIGATION_MODE_TABS navigation mode.

I haven't been able to find any questions with the same problem, any ideas on how to prevent this behavior?


回答1:


I have already answer a question like that one : Tab item width in Action Bar (Android)



来源:https://stackoverflow.com/questions/16887902/last-tab-in-action-bar-is-cropped-goes-off-screen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!