title: Having issues with centering text in TextView within a region
body: <p>I'm having issues with TextViews and centering the text within the text region.  Specifically, I have a TextView, but when I have text inside that contains letters that straddle down the bottom margin (i.e. p, g, q, y, etc), those letters are getting cut off.  I'm trying to center the text within the region but haven't had much luck.</p>
  <p>[Updated] I now resolved the letters getting cut-off at the bottom using wrap_content as my height, but found another problem.  It now appears that the text is positioned low in the region, leaving this gap at the top.  I modified my layout to reflect the latest (see below).  Basically, those characters that were getting cut off before (g, y, j, etc) are touching the region right below which is fine, but it appears to leave padding at the top.  I tried to change the gravity to center_vertical or center, but don't have much luck:</p>
  <p>Note, I have to work with the specs given the textSizes (i.e. I can't change the values for these)</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;LinearLayout
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;fill_parent&quot;
      android:layout_height=&quot;fill_parent&quot;
      android:orientation=&quot;vertical&quot;&gt;
  
      &lt;LinearLayout
          android:id=&quot;@+id/header&quot;
          android:layout_width=&quot;fill_parent&quot;
          android:layout_height=&quot;43.3dip&quot;
          android:background=&quot;@drawable/custom_bg&quot;
          android:orientation=&quot;horizontal&quot;&gt;
          &lt;ImageButton
              android:id=&quot;@+id/headshot&quot;
              android:layout_width=&quot;43.3dip&quot;
              android:layout_height=&quot;43.3dip&quot;
              android:src=&quot;@drawable/sample&quot;
              android:background=&quot;@drawable/head_btn&quot;
              android:layout_gravity=&quot;center&quot; /&gt;
          &lt;RelativeLayout
              android:id=&quot;@+id/name_and_email&quot;
              android:layout_width=&quot;230.7dip&quot;
              android:layout_height=&quot;43.3dip&quot;
              android:orientation=&quot;vertical&quot;&gt;
  
  
          &lt;TextView
              android:id=&quot;@+id/name&quot;
              android:layout_width=&quot;fill_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:textColor=&quot;@color/custom_color&quot;
              android:textSize=&quot;18.6sp&quot;
              android:singleLine=&quot;true&quot;
              android:ellipsize=&quot;end&quot;
              android:layout_alignParentTop=&quot;true&quot;
              android:gravity=&quot;center_vertical&quot;
              android:background=&quot;#c5ff15&quot;
              android:lineSpacingExtra=&quot;0sp&quot;
              android:text=&quot;AaBbCcDdGgJjTtYy&quot; /&gt;
          &lt;TextView
              android:id=&quot;@+id/email&quot;
              android:layout_width=&quot;fill_parent&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:textColor=&quot;@color/custom_color&quot;
              android:textSize=&quot;13.3sp&quot;
              android:singleLine=&quot;true&quot;
              android:ellipsize=&quot;end&quot;
              android:layout_centerInParent=&quot;true&quot;
              android:layout_below=&quot;@id/name&quot;
              android:gravity=&quot;center_vertical&quot;
              android:visibility=&quot;gone&quot;
              android:text=&quot;qypgj@gmail.com&quot; /&gt;
  
  
          &lt;/RelativeLayout&gt;
          &lt;ImageButton
              android:id=&quot;@+id/headshot2&quot;
              android:layout_width=&quot;43.3dip&quot;
              android:layout_height=&quot;43.3dip&quot;
              android:src=&quot;@drawable/sample&quot;
              android:background=&quot;@drawable/head_btn2&quot;
              android:layout_gravity=&quot;center&quot; /&gt;
      &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  <p>Can anyone help?
  MB</p>