[android-developers] How to set submenu header icon in XML?
I used to use program menu using Java and I can add icon to submenu.
http://developer.android.com/reference/android/view/SubMenu.html#setHeaderIcon(int)
As I am switching to XML format for menu, I am wondering how do I add
icon to submenu? It does not seem to have an icon attribute for
<menu>.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home