gpt4 book ai didi

android - 在一行中使用更多的android菜单项

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:04:39 27 4
gpt4 key购买 nike

我试图在一行中使用 6 个 android 菜单 项目,但默认情况下只有 3 个项目是合格的。有什么办法吗?

最佳答案

否(除非您使用拆分操作栏)。来自documentation :

  • Action buttons in the main action bar may not occupy more than 50% of the bar's width. Action buttons on bottom action bars can use the entire width.
  • The screen width in density-independent pixels (dp) determine the number of items that will fit in the main action bar:
    • smaller than 360 dp = 2 icons
    • 360-499 dp = 3 icons
    • 500-599 dp = 4 icons
    • 600 dp and larger = 5 icons

关于android - 在一行中使用更多的android菜单项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23922999/

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