Android 在代码中调用arrays.xml中的内容

String [] books = getResources().getStringArray(R.array.books);

你可能感兴趣的:(Android 在代码中调用arrays.xml中的内容)