I am using a resource file to set onCreateOptionsMenu button titles.
Is it possible to create a line break, newline or wrap the text of the
button title?

Here is an altered example in res/values/string.xml in the Notepadv1
tutorial:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="app_name">Notepad v1</string>
    <string name="no_notes">No Notes Yet</string>
    <string name="menu_insert">Add Item</string>
    <string name="lame_dance">We are dancing and dancing forever and
ever</string>
</resources>

I would want the string "We are dancing and dancing forever and ever"
to be displayed on the options menu as:
"We are dancing
and dancing
forever and ever"

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to