Assuming I have a string array defined as:
<string-array name="settings">
<item>not very unique</item>
<item>not very unique</item>
<item>slightly more unique</item>
</string-array>
Is there a way to reference an item, by its index in the array, from a preferences XML?
I know how to reference the entire array:
android:entries="@array/settings"
But is there a way to reference only one item from the array?
Well no, there is no way, but you could do something like this:
So you basically reference another string in your resources, that is referenced in your string array. ;)