I am trying to add an options menu:


*code: *
onCreateOptionsMenu()
{
      MenuInflater inflater = getMenuInflater();
      inflater.inflate(R.menu.options_menu, menu);
}


*xml:*
<menu xmlns:android="http://schemas.android.com/apk/res/android";>
    
    <item android:id="@+id/A"
          android:icon="@drawable/A"
          android:title="AAAA"
           />
    
    <item android:id="@+id/B"
          android:icon="@drawable/B"
          android:title="BBBBB"
          />
</menu>


Only the image shows up, the 'text' never shows up.
If I don't include the image, then the text shows up fine.

Are they mutually exclusive?


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to