2012-12-03 39 views
1

我想从操作栏中获取溢出按钮,以显示在底部,后面/ home/other-apps按钮旁边。我假设如果关掉标题栏就是这种情况,但事实并非如此。我试着用Google搜索,但我找不到任何解决方案。在底部栏中的android溢出菜单

谁能给我一个提示?

例如这个程序有它: For example this app has it

回答

7

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

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

这将迫使ICS在兼容模式下运行的应用程序,让你在底部的3个点酒吧为您的溢出菜单。

0

你尝试创建选项菜单这个代码?

//Menu options within the app. 
    @Override 
    public boolean onCreateOptionsMenu(Menu menu) { 
     // Inflate the menu; this adds items to the action bar if it is present. 
     getMenuInflater().inflate(R.menu.main, menu); 
     return true; 
    } 
+0

是的这就是我使用 – Niels