title: XML android:gravity value referenced as a variable?
body: <p>is there any way to set android:gravity="..." value as a variable so I can change it depending on the configuration?</p>
  
  <p>something like</p>
  
  <pre><code>android:gravity="@string/gravityValue"
  </code></pre>
  
  <p>/values</p>
  
  <pre><code>&lt;string name="gravityValue"&gt;left&lt;/string&gt;
  </code></pre>
  
  <p>/values-land</p>
  
  <pre><code>&lt;string name="gravityValue"&gt;right&lt;/string&gt;
  </code></pre>
  
  <p>but that doesnt work as gravity values are flags</p>
  
  <p>thanks!</p>