如何更改 Android 的选项菜单位置
我只是想知道是否可以更改 Android 中选项菜单的位置,特别是我想在屏幕顶部而不是底部显示菜单。提前致谢。
I just want to know if it is possible to change the position of the options menu in Android, specifically I want to display the menu at the top of the screen, instead at the bottom. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
答案是否定的,您无法更改选项菜单的位置。
您无法更改位置的原因是应用程序之间的人机界面标准。正如其他人在对您的问题的评论中所指出的那样,在平台上拥有一致的共同接触点非常重要。 Apple 认识到这一点,这就是为什么如果您违反了他们的准则,他们会拒绝您的应用程序出现在 App Store 上。谷歌对此比较友善,有时会损害用户的利益,因为用户多次大声抱怨应用程序不一致。
当然,我们欢迎您推出自己的菜单系统,这是 Google 授予您的自由的一部分。用户的反应将落在你的肩膀上(可能还有身体的其他部位,这取决于这些用户在投掷东西时的目标有多好)。
The answer is no, you cannot change the position of the options menu.
The reason you cannot change the position is for human interface standards between applications. As others have indicated in the comments on your question, it is important to have common touchpoints of consistency on a platform. Apple recognizes this, which is why they would simply refuse to allow your app on the App Store if you break their guidelines. Google is kinder about it, sometimes to the detriment of users, who have repeatedly and loudly complained about app inconsistency.
Of course, you are welcome to roll your own menu system, which is part of the freedom that Google grants you. Reaction from users will then be on your shoulders (and possibly other body parts, depending on how good those users' aim is when throwing things).