Android:using hashmaps and strings
<p>just started dabbling in Android and have been told that Strings shouldnt be hard coded into Java but put into the string resource folder.</p>

<p>I have existing code where in a hashmap the key and value are both strings.How would i go about putting the strings into xml and taking them out of the java part completely?</p>

<p>Should I just create a string in the string resource folder like so</p>

<pre><code>&lt;string name="hello"&gt;Hello.world&lt;/string&gt;
</code></pre>

<p>with hello being the key and world being the value and then just parse the string using the . as a delimiter?</p>

<p>Hopefuly I've explained myself correctly</p>
