snip-code from values/string.xml:
- Today
-
See the selected answer here: Android - reference a string in a string array resource with xml.
According to that answer, have to do something like this:
<string name="earth">Earth</string>
<string name="moon">Moon</string>
<string-array name="system">
<item>@string/earth</item>
<item>@string/moon</item>
</string-array>
Then you would simply do:
<Button ....
android:text="@string/earth" />