title: TextView in the center of the screen
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/432037/how-do-i-center-text-horizontally-and-vertical-in-a-textview-in-android">How do I center text horizontally and vertical in a TextView in Android?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a <code>RelativeLayout</code> (before it was a <code>LinerLayout</code>), that occupies all the screen and I want to put in the center of this <code>Layout</code>, a <code>TextView</code>. I try to do it with <code>gravity = "center"</code> <code>layout_gravity = "center"</code> and a few more, but it doesn't work.</p>
  
  <p>Anybody knows how to center the <code>TextView</code> in the middle of the screen?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Ok, I think I explained badly. I think the <code>TextView</code> is in the center, but what I want to center is the text in the <code>TextView</code>. Can I do this?</p>