Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android application name on two lines [duplicate]

Currently i am developing an application whose name is long , so i would like to display name in two line same as "Quick Calendar" and "Search People" in an attached home screen widget:

Please show me a way to implement this ?? is it possible to do so?

alt text

like image 962
Paresh Mayani Avatar asked Nov 22 '25 20:11

Paresh Mayani


2 Answers

Use \\n for a newline character.

like image 190
CommonsWare Avatar answered Nov 24 '25 12:11

CommonsWare


Use \n \r but remember to enclose the string in quotes "... \n ... "

like image 45
Kalyanaraman Santhanam Avatar answered Nov 24 '25 11:11

Kalyanaraman Santhanam