The Submenues won't show up in the emulator??
<pre><code>package com.droidnova.android.howto.optionmenu;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.Toast;

public class SimpleOptionMenuActivity extends Activity {
 /** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
}

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

@Override
public boolean onOptionsItemSelected(MenuItem item) {
    switch (item.getItemId()) {
        case R.id.icon:     Toast.makeText(this, "You pressed the icon!",               Toast.LENGTH_LONG).show();
                            break;
        case R.id.text:     Toast.makeText(this, "You pressed the text!", Toast.LENGTH_LONG).show();
                            break;
        case R.id.icontext: Toast.makeText(this, "You pressed the icon and text!", Toast.LENGTH_LONG).show();
                            break;
    }
    return true;
}
</code></pre>

<p>}</p>

<p>i'm trying to create this simple menu, it loads up in the emulator (1.6 version ) but none of the submenues show up</p>

<pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt;
&lt;item android:id="@+id/icon"
    android:icon="@drawable/icon" /&gt;
&lt;item android:id="@+id/text"
    android:title="Text" /&gt;
&lt;item android:id="@+id/icontext"
    android:title="Icon and text"
    android:icon="@drawable/icon" /&gt;
</code></pre>

<p></p>

<p>thats the xml file</p>
