title: How to center text in tabhost?
body: <p>I have a basic question. In many tabhost examples, we find tabs with image and text.</p>
  
  <p>In my case, I would like to only display a text, but the issue is that my text is horizontally centered but not vertically (The text is at the bottom of my tab).</p>
  
  <p>I tried  : android:layout_gravity="center" in the framelayout, but it doesn't work.</p>
  
  <p>Do you have any idea, please ?</p>
  
  <p>My xml.</p>
  
  <pre><code>&lt;TabHost
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@android:id/tabhost"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:layout_gravity="center"&gt;
  
      &lt;LinearLayout
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_gravity="center"&gt;
  
          &lt;TabWidget android:id="@android:id/tabs"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content" 
          android:layout_gravity="center"/&gt;
  
          &lt;FrameLayout
              android:id="@android:id/tabcontent"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_gravity="center"&gt;
  
          &lt;/FrameLayout&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/TabHost&gt;
  </code></pre>
  
  <p>solved : I customized my tabs thanks to the following tutorial : <a href="http://joshclemm.com/blog/?p=136">http://joshclemm.com/blog/?p=136</a> </p>
  
  <p>Thank you</p>