There is a menu menu that I already have filled with MenuItems, also a custom dialog, which I'm styender instead of the options menu I want to use. I decided to use the button instead of ItemMenuView.
Then I can add the text of the icon and MenuItem to my custom dialogue with each button, and get a completely awesome 'menu' as a result.
If my question is, please describe step by step how to create a common button (or not a button) looks like a common MenuItemView.
Thaks in advance!
After that it gets very high for me: Whereas drawable / custom_button is empty and represents drawable / menu_btn1 pressed common selector Together states / enadled
& Lt; Android: layout_height = "wrap_content" android: layout_height = "wrap_content" android: layout_weight = "0.33" Android: id = "@ + id / menu_btn1" Android: background = "@ drawable / custom_button" Android: src = "@ drawable / Menu_btn1 "/>
Comments
Post a Comment