manage to put a string with double quotes in a resources file.
strings.xml:
<resources>
<string name="message_empty_folder">Folder "%s" is
empty.</string>
</resources>
LIstFolderActivity.java:
String format = getResources().getString
(R.string.message_empty_folder);
System.out.println(format);
Log output:
Folder %s is empty.
What's eating up the double quotes?
Thanks in advance,
Markus
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment