由网友(梦已逝あ莫相思)分享简介:你知道如何有一个两行的菜单项的标题?我用\ N的字符串或Html.fromHtml与标记尝试,但它不工作。谢谢Do you know how to have a two lines menu item title? I've tried using \n in the string or Html.fromHtml...
你知道如何有一个两行的菜单项的标题?我用 N的字符串或Html.fromHtml与标记尝试,但它不工作。谢谢
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
推荐答案
您可以使用串线= System.getProperty(line.separator)
这会给你的字符串换行的效果。
this will give you newline effect in string.
相关推荐
最新文章