title: Programmatically set android:layout_centerHorizontal
body: <p>In xml you can do the following:</p>
  
  <pre><code>&lt;TextView
      ...
      android:layout_centerHorizontal="true"
      ...
  /&gt;
  </code></pre>
  
  <p>How would I, when I have the instance of <code>TextView</code>, do this programmatically?</p>