Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Two line text for MenuItem

Do you know how to have a two lines menu item title? I've tried using \n in the string or Html.fromHtml with
tag but it doesn't work. Thanks

like image 702
Buda Gavril Avatar asked Jan 17 '11 13:01

Buda Gavril


1 Answers

This is the recommended answer from Google: "If text in a simple menu wraps to a second line, use a simple dialog instead. Simple dialogs can have rows with varying heights."

https://material.io/guidelines/components/menus.html#menus-simple-menus

like image 142
Simon Avatar answered Sep 29 '22 10:09

Simon