There is an array in strings.xml :

 <string-array name="arr_vol"> <item>Минимальный</item> <item>Средний</item> <item>Максимальный</item> </string-array> 

There is a sheet:

 ArrayList<String> al = new ArrayList<>(); 

How to assign sheet al values ​​from the arr_vol array?

    1 answer 1

    Add your string-array to strings.xml or arrays.xml , and then:

     List<String> al = Arrays.asList(getResources().getStringArray(R.array.arr_vol));