mercredi 25 février 2015

Get string from xml (other than strings.xml)

I want to get a string array from other file than strings.xml, because I want my project to be organised.


For example, I have this code:



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


But my string array isn't located in strings.xml, but in \res\values\tables\10.xml


How can I get the string array from that file?


Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire