Menu inflater not showing in emulator
<p>menu is not showing in my emulator.menu code is implemented in home.java class,inflator usess menu but is not showing on emulator .</p>

<pre><code>@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.home);
}

public boolean onCreateOptionsMenu(Menu menu) {
    MenuInflater Inflater = getMenuInflater();
    Inflater.inflate(R.layout.menu, menu);
    return(super.onCreateOptionsMenu(menu));
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
    if (item.getItemId() == R.id.logout) {
        SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);
        SharedPreferences.Editor editor = settings.edit();
        editor.remove("logged");
        editor.commit();
        finish();
    }
    return super.onOptionsItemSelected(item);
}
</code></pre>

<p>}</p>
