title: Android set String value in String.xml
body: <p>can anybody help me ?? I want to add String value through coding in string.xml  <br>
  I am doing this. <br></p>
  
  <pre><code>  String name = getResources().getString(R.string.name);
    if(name.lenght() &lt; 1 ){
        // getResources().setString(R.string.name);??????????????????????
  
    }
  </code></pre>
  
  <p>My string.xml is <br></p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;resources&gt;
      &lt;string name="name"&gt;&lt;/string&gt;
   &lt;/resources&gt;
  </code></pre>
  
  <p>does anybody know how i can add value of name in string.xml though coding. 
  Thank you!!</p>