gpt4 book ai didi

android - ActionBar 中的选项卡

转载 作者:太空狗 更新时间:2023-10-29 14:13:48 24 4
gpt4 key购买 nike

我在问题中的意思是:

ActionBar Tabs](https://s2.postimg.org/qy6gdl761/Untitled.png

'Android 新拨号器应用程序':

enter image description here如何将这些选项卡添加到我的 ActionBar?我该如何设计它们?请不要建议使用库

最佳答案

按照评论中的建议尝试使用android提供的PagerTitleStrip,但要解决问题请尝试:
将其添加到您的 list 文件中

android:value="splitActionBarWhenNarrow" />

并使用 setDisplayShowHomeEnabled(false);setDisplayShowTitleEnabled(false); 禁用操作栏图标和标题

here是让您从 Android 开发人员开始的链接:

关于android - ActionBar 中的选项卡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24473779/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com