调用办法:
String items[] = getResources().getStringArray(R.array.backupitem);
array.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <string-array name="backupitem"> <item>备份到SD卡</item> <item>从SD卡恢复备份</item> <item>导出为Txt文件</item> </string-array> </resources>