PHP
·
发表于 5年以前
·
阅读量:8296
// in strings.xml..
<string name="my_text">Thanks for visiting %s. You age is %d!</string>
// and in the java code:
String.format(getString(R.string.my_text), "oschina", 33);