title: Android: Difference between setTextAlignment and setGravity
body: <p>I'm working with an <code>EditText</code>, and know that <code>setTextAlignment</code> was not implemented until <strong>API 17</strong>, but don't see how using <code>setTextAlignment</code> is any easier or better than <code>setGravity</code>. Which should I use for what purposes, or does it not matter? </p>
  
  <p>I find <code>setGravity</code> to be very easy to work with and do what I want, so when should I NOT use this?</p>
  
  <p>Thank you</p>