string-array inside string-array

aminenaro

New Member
I want to create a string-array inside another string-array like this:\[code\]<string-array name="names"> <string-array name="man"> <item>Jake</item> </string-array> <string-array name="woman"> <item>Loise</item> </string-array></string-array>\[/code\]But I don't know how to access to de string-array inside the main string-array. Before doing it this way, I had organized all names in the same string-array and I accessed this way:\[code\]String names[] = res.getStringArray(R.array.names);\[/code\]But now I need to classify the data. How can I access to the SUB string-arrays?Thank you in advance!
 
Back
Top