Skip to content

Instantly share code, notes, and snippets.

@leonguyen
Last active December 16, 2015 08:59
Show Gist options
  • Select an option

  • Save leonguyen/5409973 to your computer and use it in GitHub Desktop.

Select an option

Save leonguyen/5409973 to your computer and use it in GitHub Desktop.
Android Lab: Shared References - Reference Activity - Defining Array XML Value
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="listStore">
<item>Internal Storage</item>
<item>External Storage</item>
</string-array>
<string-array name="listStoreReturn">
<item>Internal Storage has been set!</item>
<item>External Storage has been set!</item>
</string-array>
<string-array name="listType">
<item>File</item>
<item>SQLite</item>
</string-array>
<string-array name="listTypeReturn">
<item>File has been set!</item>
<item>SQLite has been set!</item>
</string-array>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment