Android Studio – how to add value to each item of string array in string.xml in spinner
i have a problem here in using spinner, i want to add value to each array item in my string.xml this is my code: <string-array name="hubungan"> <item>Choice</item> <item>CHILD</item> <item>PARENT</item> <item>HUSBAND</item> <item>WIFE</item> </string-array> I mean is: <string-array name="hubungan"> <item>Choice value="1"</item> <item>CHILD…