title: Right align text in android TextView
body: <p>I have a <code>TextView</code> in my application. I want to align the text in it to the right. I tried adding:</p>
  
  <pre><code>android:gravity="right"
  </code></pre>
  
  <p>But this doesn't work for me.</p>
  
  <p>What might I be doing wrong?</p>