我需要随机选择在 android 的 strings.xml 文件中定义的字符串。
例如我的 strings.xml 是:
<resources>
<string name="str1">Content comes here1</string>
<string name="str2">Content comes here2</string>
<string name="str3">Content comes here3</string>
</resources>
我可以在我的活动中随机选择这些字符串之一吗?