Anish Singh Anish Singh - 3 years ago 437
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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download