Anish Singh Anish Singh - 6 months ago 109
Android Question

How to create a multi-line options menu item (SubMenu)

I have a really long title for MenuItem (Added as a SubMenu).
When added to Action-bar the menu item spills over the screen.
Even adding a "\n" in the title does not help.
Is there a way to make the title appear in two lines?


You can create a custom layout for this type of menu. Here is an approach Android Action bar custom dropdown view on item click.