Hello,
With below code, the icon for submenu items does not get displayed.
SubMenu submenu = menu.addSubMenu(0, Constants.MENU_ID_SETTINGS, 1,
"Settings");
submenu.setIcon(R.drawable.settings);
submenu.add(0, Constants.MENU_ID_PREFERENCES, 1,
"Preferences").setIcon(R.drawable.preferences);
submenu.add(1, Constants.MENU_ID_PROFILE, 2,
"Profile").setIcon(R.drawable.profile);
First the item "Settings", its displaying but for its submenu
items("Preferences"/"Profile") , it is not showing up.
Do I miss anything here? Any help is greatly appreciated.
Thank you,
Regards,
-DK
--
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