l
文件路径:res/values/strings.xml
字符串资源定义示例:
<?xml
<resources>
</resources>
l
ü
<TextView
ü
this.getString(R.string.hello)
ü
context.getString(R.string.hello)
ü
application.getString(R.string.hello)
l
文件路径:res/values/strings.xml
字符串资源定义示例:
<?xml
<resources>
</resources>
l
ü
<TextView
ü
this.getString(R.string.hello)
ü
context.getString(R.string.hello)
ü
application.getString(R.string.hello)