简体   繁体   中英

ActionBar menu item background using xml drawable?

I was searching for a way to style the menu buttons in my ActionBar, I would like to use a .xml drawable with rounded corners as a background for my menu items (the item is basically a counter with numbers, which I update dynamically).

There is no documentation about adding a background drawable to menu items on the action bar. Can this be achieved?? Thanks!

请在ActionProvider端查看

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM