Is it possible to reference not the representated string, but the integer key of a resource in xml?
<string name="first_string">First! :-D</string>
<string name="second_string">Second :(</string>
<integer-array name="something">
<item>@string/first_string</item>
<item>@string/second_string</item>
</integer-array>
This for example does not work, because @string/first_string is resolved to First! :-D, instead of it's resource key (for example 0x7f0c0010). Is there any way at all to access that?
No comments:
Post a Comment