No, they can be used simultaneously on Android 1.x/2.x, but your images may be too large. Make sure they are sized according to:
http://developer.android.com/guide/practices/ui_guidelines/icon_design_menu.html On Thu, Apr 19, 2012 at 7:44 AM, Put_tiMe <[email protected]> wrote: > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

