Back

android 在 activity中直接调用 resources 中的字符串

发布时间: 2017-03-19 08:49:00

String mystring = getResources().getString(R.string.mystring);

参考 http://stackoverflow.com/questions/7493287/android-how-do-i-get-string-from-resources-using-its-name

Back