On 30 July 2010 14:11, Quintin Willison <[email protected]> wrote:
> Trying to be a good boy here (all strings being declared in resource
> values) but have hit upon a non-critical but annoying issue...
>
> Example from res/values/strings.xml:
>
> <?xml version="1.0" encoding="utf-8"?>
> <resources>
>  <string name="ButtonLabel_QuestionMark">?</string>
>  <string name="ButtonLabel_AtSymbol">@</string>
> </resources>

Quote your strings and you will be on safe ground:

<string name="ButtonLabel_QuestionMark">"?"</string>
<string name="ButtonLabel_AtSymbol">"@"</string>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to