1. 在AndroidManifest.xml与layout里:
android:text="@string/resource_name"
2.在activity里:
this.getString(R.string.resource_name)
3.在其他地方如 ListAdapter,(必须有Context或Applicaton)
context.getString(R.string.resource_name)
application.getString(R.string.resource_name)