在底部栏的Andr​​oid溢出菜单 [英] android overflow menu in bottom bar

查看:129
本文介绍了在底部栏的Andr​​oid溢出菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让操作栏中溢出按钮显示在底部,旁边的BACK / HOME /其他-应用程序的按钮。我假定这将是这种情况,如果我关掉了标题栏,但事实并非如此。我尝试使用Google,但我找不到任何解决办法。

I'm trying to get the overflow button from the action bar to show up in the bottom, next to the back/home/other-apps buttons. I was assuming this would be the case if I turn off the title bar, but it doesn't. I tried googling it, but I can't find any solutions.

谁能给我一个提示?

例如这个程序有它:

For example this app has it:

推荐答案

在你的 AndroidManifest 您必须将targetSdkVersion设置为13或更低版本是这样的:

In your AndroidManifest you have to set the targetSdkVersion to 13 or earlier like this:

<uses-sdk android:targetSdkVersion="13" />

这将迫使ICS在兼容模式下运行你的应用程序,并给你3个点的底部栏的溢出菜单。

That will force ICS to run your app in compatibility mode and give you the 3 dots in your bottom bar for your overflow menu.

这篇关于在底部栏的Andr​​oid溢出菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆