title: Can't center TextView dynamically in TableRow
body: <p>I have dynamically made a TableRow with an ImageButton and a TextView. 
  I've set a gravity on my TableRow using <code>TableRow.setGravity(Gravity.CENTER_VERTICAL);</code></p>
  
  <p>Then, on my TextView, I'm using this code</p>
  
  <pre><code>TextView tv = new TextView(this);
  tv.setText(functie[beschrijving]);
  tv.setWidth(300);
  //tv.setHeight(60);
  tv.setGravity(Gravity.CENTER_VERTICAL);
  tv.setPadding(15, 0, 10, 0);
  tr.addView(tv);
  </code></pre>
  
  <p>When I do this, I'm getting this result. It's not quite centered, it looks like the text right below the center. Does anyone know how to put the text completely in the center?</p>
  
  <p><img src="https://i.stack.imgur.com/NQXAx.png" alt="enter image description here"></p>