title: How to specify null value for a string resource in xml in Android?
body: <p>In my values.xml, I have some string resources.  But sometimes, I want to have a null value for that string resource for specific reasons.</p>
  
  <p>How do I specify that string to have a <code>null</code> value?</p>
  
  <p><strong>values.xml:</strong></p>
  
  <pre><code>&lt;string name="default_item_0"&gt;Some String&lt;/string&gt;
  &lt;string name="default_item_1"&gt;@null&lt;/string&gt;
  </code></pre>
  
  <p><strong>Java code:</strong></p>
  
  <pre><code>String item0 = context.getString(R.string.default_item_0);
  String item1 = context.getString(R.string.default_item_1);
  </code></pre>
  
  <p><strong>Expected:</strong></p>
  
  <pre><code>String item0 = "Some String";
  String item1 = null;
  </code></pre>
  
  <p><strong>Actual:</strong></p>
  
  <pre><code>String item0 = "Some String";
  String item1 = "@0";
  </code></pre>
  
  <p>I tried the @null value, but it returns a string of <code>@0</code> instead.</p>
  
  <p>Is it possible to have a <code>null</code> value in xml?</p>