I searched in google but didn't find anything about graphical or advanced menus or contextmenu. I'm building a game and I need to make a contextmenu with the units to build. It should have an icon and a description of the unit, like HP, attack, defense, etc. I was trying to inflate the menu from xml, but the icon does not appear and I don't know how to make the unit's info appear, now I have something like that:
<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/build_menu" android:title="BUILD" android:icon="@drawable/build32"/> <------HERE IT SHOULD MAKE ICON SHOWS <item android:id="@+id/train_menu" android:title="TRAIN"/> <item android:id="@+id/destroy_menu" android:title="DESTROY"/> <item android:id="@+id/stats_menu" android:title="STATS"/> </menu> the menu appears, but the icon not.... and it's awfully standard... if I could show a background image... so pleeeeeease if you know of any tutorial of building nice menus/ advanced menus it would be great =) thx!!! -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.