Below is the code that i made to retrieve the string array item:
String[] menuArray; @Override public void onCreate(Bundle savedInstanceState) {
How to retrieve a string array from resources:
array.xml
one two three
Code
String[] stringArray = getResources().getStringArray(R.array.my_string_array);
(The OP already had their question answered but based on the question title, other people may come here looking for this answer.)