Welcome to the Treehouse Community
Looking to learn something new?
Slava Fleer6,086 Points
How to add icon instead text in overflow menu when you pressing on 3 dots in Action Bar ?
The only option when I see the icon and not text of menu item is when app:showAsAction="always" or ifroom , but it puts the icon in Action Bar. I want this icon in menu after pressing 3 dots. Tried every showAsAction variations.
Thanks for your time =)
I do not believe it is common practice for Android to include icons in the overflow menu, this stackoverflow post gives more details on not using icons. Having said that, there are a few ways to do so(although some feel very hackish). The less hackish route I've seen, but have I have not tried out either method, would be to do so programatically, as given in this stackoverflow post. Again, I would recommend going with standard coding practices and not worry about icons in the overflow area.