1.在AndroidManifest.xml与layout等xml文件里: android:text="@string/resource_name". 2.在activity里:. 方法一:this.getString(R.string.resource_name);.
確定! 回上一頁