title: Android layout_gravity for TextView in Java
body: <p>I want to change the <em>layout gravity</em> for a <em>TextView</em>.<br>
  Via XML, you'd do that via <code>android:layout_gravity="value"</code>.<br>
  I know that in order to change the <em>gravity</em> itself, via XML you'd do <code>android:gravity="value"</code>, and in Java you'd do <code>textview.setGravity(Gravity.VALUE);</code><br>
  But sadly, there's no <code>textview.setLayoutGravity(VALUE);</code>, so I'm stuck.<br>
  Thanks!</p>