4

When I press the menu the screen button the screen fades away slowly and up pops my apparently in Jellybean. Is these issue with my code or any other stuff going on? I can't seem to find out how to change it.

Anyone know this thing?

Here is my java code with onCreateOption Menu :

  @Override
public boolean onCreateOptionsMenu(Menu menu) {
    getMenuInflater().inflate(R.menu.activity_main, menu);
    return true;
}

My menu xml file "activity_main" :

<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/menu_settings"
    android:title="@string/menu_settings"
    android:orderInCategory="100"
    android:showAsAction="never" />
</menu>

Thanks, Jay Patel

4

1 回答 1

0

带有硬件菜单按钮的手机不会显示三点溢出按钮。相反,当您按下硬件菜单按钮时,动作项目将显示在弹出窗口中。我不知道这是否是您的问题,因为您确实提供的信息很少,而且您的语法非常难以理解。

于 2012-12-12T08:38:45.287 回答