最后一个选项卡中的操作栏中的裁剪,熄灭屏幕选项卡、栏中、屏幕、操作

2023-09-12 03:12:07 作者:心有不甘却又无能为力

我正在使用的标签导航Android应用程序。 我有在操作栏上的最后一个选项卡的渲染的问题;它熄灭屏幕,裁剪(一旦出现这种情况的选项卡的数量太大,太适合在screeen宽度,据我可以告诉)。

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).

我使用了 ActionBar.NAVIGATION_MODE_TABS 导航模式。

我一直没能找到同样的问题有任何疑问,如何prevent这种行为任何想法?

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

推荐答案

我已经回答这样一个问题:标签项宽度在操作栏(​​安卓)

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